From 2b1ce9ad9fc97296032d603597d46a1486b0a3c6 Mon Sep 17 00:00:00 2001 From: renzo Date: Fri, 24 Mar 2017 11:21:13 +0000 Subject: [PATCH] Update README.md to fix LAB_MONOLITH_DB_IP bug and hints for linux/max users --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a904201..4f7a603 100644 --- a/README.md +++ b/README.md @@ -35,17 +35,17 @@ There should be no issue if the distribution uses a recent kernel. ## 2. Run Monolith -1. Set up an environment variable `LAB_MONOLITH_DB_IP` 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`, otherwise `localhost` is probably correct. 2. Set up an environment variable `LAB_MONOLITH_DB_PASSWORD` and assign any password. - +3. For Linux/Mac `chmod +x start-db.sh gradlew` 3. `./start-db.sh` Starts a PostgreSQL database using the password from `LAB_MONOLITH_DB_PASSWORD`. -4. `gradle bootRun` +4. `./gradlew bootRun` 5. Open http://localhost:8080 6. Happy exploring and di-secting