Created
July 18, 2017 04:39
-
-
Save zabih-alipour/bac559c028bb63342190382f6c8d71e8 to your computer and use it in GitHub Desktop.
playframwork application tips
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//--------- | |
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