Deploy play framework 2.1.x app script(.sh)

Go to project dir.
Run the following:
  1. activator clean compile stage
  2. rm /usr/local/development/workspace/Vudy/target/universal/stage/RUNNING_PID
  3. activator clean stage
  4. nohup target/universal/stage/bin/RUNNING_PID &

References :
https://www.playframework.com/documentation/2.1.x/Production

No comments:

Post a Comment