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.
  2. 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
  2. Edit docker/.env if necessary.
  3. From the docker directory: $ docker-compose up
  4. In your local browser, open localhost:9000
  5. Also, the backend app is hosted on localhost:9001

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.