genofire/hs_monolith
genofire
/
hs_monolith
Archived
1
0
Fork 0
This repository has been archived on 2020-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
hs_monolith/README.md

18 lines
570 B
Markdown
Raw Normal View History

2017-03-09 00:05:20 +01:00
# Getting Started
1. Install Docker.
2017-03-09 22:31:47 +01:00
2. Set up an environment variable `LAB_MONOLITH_DB_HOST` and assign the docker host's IP,
set `LAB_MONOLITH_DB_PORT` to some free port, e.g. 5432.
2017-03-09 00:05:20 +01:00
For docker machine type `docker-machine env` and the value of `$DOCKER_HOST`,
otherwise `localhost` is probably correct.
2017-03-09 00:05:20 +01:00
3. Set up an environment variable `LAB_MONOLITH_DB_PASSWORD` and assign any password.
2017-03-09 00:05:20 +01:00
4. `./start-db.sh`
2017-03-09 00:05:20 +01:00
Starts a PostgreSQL database using the password from `LAB_MONOLITH_DB_PASSWORD`.
2017-03-09 00:05:20 +01:00
5. `gradle bootRun`
6. Open http://localhost:8080