Skip to content

Commit 5608fe6

Browse files
committed
update README
1 parent 1aa38d9 commit 5608fe6

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ This app was built using Java 17 and the maven wrapper. If you wish to use a dif
2020
The root of this project directory (next to this README) are two files [a Docker compose file](./docker-compose.yml) and an [environment variables configuration file](./.env). Assuming you have Docker installed on your machine, you can stand up FusionAuth up on your machine with:
2121

2222
```
23-
docker-compose up -d
23+
docker compose up -d
2424
```
2525

2626
The FusionAuth configuration files also make use of a unique feature of FusionAuth, called [Kickstart](https://fusionauth.io/docs/v1/tech/installation-guide/kickstart): when FusionAuth comes up for the first time, it will look at the [Kickstart file](./kickstart/kickstart.json) and mimic API calls to configure FusionAuth for use when it is first run.
2727

28-
> **NOTE**: If you ever want to reset the FusionAuth system, delete the volumes created by docker-compose by executing `docker-compose down -v`.
28+
> **NOTE**: If you ever want to reset the FusionAuth system, delete the volumes created by docker-compose by executing `docker compose down -v`.
2929
3030
FusionAuth will be initially configured with these settings:
3131

@@ -49,7 +49,7 @@ cd complete-application
4949
```
5050
Note: If you are on Windows swap `./mvnw` with `.\mvnw.cmd`
5151

52-
Now vist the SpringBoot app at [http://localhost:8080](http://localhost:8080)
52+
Now visit the SpringBoot app at [http://localhost:8080](http://localhost:8080)
5353
You can login with a user preconfigured during Kickstart, `richard@example.com` with the password of `password`.
5454

5555
### Further Information

complete-application/src/main/java/io/fusionauth/quickstart/springweb/model/Change.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
public class Change {
44
private String error;
5-
private String total;
6-
private Integer nickels;
7-
private Integer pennies;
5+
private String total = "";
6+
private Integer nickels = 0;
7+
private Integer pennies = 0;
88

99
public String getError() {
1010
return error;
@@ -39,6 +39,6 @@ public void setPennies(Integer pennies) {
3939
}
4040

4141
public String getMessage() {
42-
return String.format("We can make change for %s with %s nickels and %s pennies!", getTotal(), getNickels(), getPennies());
42+
return String.format("We can make change for $%s with %s nickels and %s pennies!", getTotal(), getNickels(), getPennies());
4343
}
4444
}

0 commit comments

Comments
 (0)