diff --git a/README.md b/README.md new file mode 100644 index 0000000..ecc705d --- /dev/null +++ b/README.md @@ -0,0 +1,16 @@ +# Getting Started + +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. + +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`. + +5. `gradle bootRun` +6. Open http://localhost:8080