2017-05-01 12:31:44 -04:00
|
|
|
The docker directory contains all docker related source code.
|
|
|
|
|
|
|
|
Here is how to use it:
|
|
|
|
1. First ensure that docker and docker-compose are installed, and that the user running this is a member of the docker group, or is root.
|
|
|
|
The docker compose script uses version 3, so be sure that the version you install supports that.
|
2017-05-19 05:54:28 +09:00
|
|
|
1. Download JDK and store it to following directories.
|
|
|
|
- `docker/backend-service/archives/`
|
|
|
|
- `docker/web/archives/`
|
|
|
|
1. From the WhereHows root, run prepare-docker-archives.sh
|
|
|
|
1. Edit docker/.env if necessary.
|
|
|
|
1. From the docker directory: $ docker-compose up
|
|
|
|
1. In your local browser, open localhost:9000
|
|
|
|
1. Also, the backend app is hosted on localhost:9001
|
2017-05-01 12:31:44 -04:00
|
|
|
|
|
|
|
If any step fails in the script, you can run individual steps in it, the script is pretty intuitive and has comments.
|
|
|
|
|
|
|
|
Hope that helps.
|