Update README.md
This commit is contained in:
parent
973b050b65
commit
b302170d5b
|
@ -3,14 +3,14 @@
|
|||
1. Install Docker.
|
||||
2. Set up an environment variable `LAB_MONOLITH_DB_IP` and assign the docker host's IP.
|
||||
|
||||
For docker machine type `docker-machine env` and the value of `$DOCKER_HOST`,
|
||||
otherwise `localhost` is probably correct.
|
||||
For docker machine type `docker-machine env` and the value of `$DOCKER_HOST`,
|
||||
otherwise `localhost` is probably correct.
|
||||
|
||||
3. Set up an environment variable `LAB_MONOLITH_DB_PASSWORD` and assign any password.
|
||||
|
||||
4. `./start-db.sh`
|
||||
|
||||
Starts a PostgreSQL database using the password from `LAB_MONOLITH_DB_PASSWORD`.
|
||||
Starts a PostgreSQL database using the password from `LAB_MONOLITH_DB_PASSWORD`.
|
||||
|
||||
5. `gradle bootRun`
|
||||
6. Open http://localhost:8080
|
||||
|
|
Reference in New Issue