Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.
/ here-to-help-api Public archive

This is the repo for the '2018_team' event for the team:'2018_team_1'

Notifications You must be signed in to change notification settings

dsmHack/here-to-help-api

Repository files navigation

HereToHelp-api

How to build:

  • Create env: cp .env.example .env
  • Build: docker run -it --rm --name maven-build -v ~/maven/m2:/root/.m2 -v "$(pwd)":/project maven:3.3-jdk-8 mvn -f project/ clean package

How to run:

  • Start: docker-compose up
  • Stop: docker-compose down

Documentation:

Start the application locally and navigate to:

Gotchas and Tips:

  • In my case, "$(pwd)" was ///c/Users/[Your Windows username here]/workspace/2018_team_1_api. Full command looks like this: docker run -it --rm --name my-maven-project -v ///c/path/to/the/repo/2018_team_1_api:/project maven:3.3-jdk-8 mvn -f project/ clean package
  • If you get this error message: the input device is not a TTY. If you are using mintty, try prefixing the command with 'winpty' add winpty to the beginning of your command. Here's why: http://willi.am/blog/2016/08/08/docker-for-windows-interactive-sessions-in-mintty-git-bash/
  • Add -d to docker-compose up to background. The process can be found by running docker ps and docker stop [container id].

About

This is the repo for the '2018_team' event for the team:'2018_team_1'

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published