echo 'export _JAVA_OPTIONS="-Xms128m -Xmx256m -XX:PermSize=64m"' >> ~/.bashrcecho "export PATH=$PATH:/path/to/dir" >> ~/.bashrcbashWhen in activator, just add a space after start or run and specify the port. Example:
run 80or
start 80- Create a distributable from activator (command: "dist")
- Push to server
- Create a .sh file and dump this in:
nohup bin/executable -J-server -Dconfig.file=conf/application.conf -Dhttp.port=80 &- chmod +x start.sh (or the filename you chose above)
- ./start.sh
- Server should be running.