Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zabih-alipour/bac559c028bb63342190382f6c8d71e8 to your computer and use it in GitHub Desktop.
Save zabih-alipour/bac559c028bb63342190382f6c8d71e8 to your computer and use it in GitHub Desktop.
playframwork application tips
//---------
run tests whitout go to activator console with additional config parameter:
$ activator clean -Dhibernate.hbm2ddl.auto=create "test-only UserControllerTest"
//--------- deploy with publish
& activator publish;
//--------- deploy with jar file(first create zip file and should be extract and run)
$ activator clean dist;
$ chmod +x myapp
$ ./myapp -jvm-debug 9999 "-Dhttp.port=9000" "-Dhttp.adsress=127.0.0.1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment