genofire/hs_monolith
genofire
/
hs_monolith
Archived
1
0
Fork 0

Enhanced Getting Started Guide

Added port env variable, removed +x since file permissions are corrected
in the repo itself.
This commit is contained in:
Matthias Stock 2017-03-26 21:56:49 +02:00
parent 6c5e075057
commit 275128c389
1 changed files with 7 additions and 7 deletions

View File

@ -37,15 +37,15 @@ There should be no issue if the distribution uses a recent kernel.
1. Set up an environment variable `LAB_MONOLITH_DB_HOST` and assign the docker host's IP. 1. Set up an environment variable `LAB_MONOLITH_DB_HOST` and assign the docker host's IP.
For docker machine type `docker-machine env` and the value of `$DOCKER_HOST`, For *docker machine* type `docker-machine env` and use the value of `DOCKER_HOST`,
otherwise `localhost` is probably correct. otherwise `localhost` is probably correct.
2. Set up an environment variable `LAB_MONOLITH_DB_PASSWORD` and assign any password. 2. Set up an environment variable `LAB_MONOLITH_DB_PORT` and assign any free port you want the PostgreSQL Database to use.
3. For Linux/Mac `chmod +x start-db.sh gradlew` 3. Set up an environment variable `LAB_MONOLITH_DB_PASSWORD` and assign any password.
3. `./start-db.sh` 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`.
4. `./gradlew bootRun` 5. `./gradlew bootRun`
5. Open http://localhost:8080 6. Open http://localhost:8080
6. Happy exploring and di-secting 7. Happy exploring and di-secting