Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install Play Framework on Ubuntu 14.04

Install Play Framework on Ubuntu 14.04

  1. download file from https://www.typesafe.com/activator/download
  2. move unzipped directory to /usr/local/share
  3. export
export ACTIVATOR_HOME=/usr/local/share/activator-dist-1.3.6
export PATH=$PATH:$ACTIVATOR_HOME/bin
  1. create Play app
activator new {name-app} [play-scala|play-java]
  1. run app
cd {name-app}
run
  1. run with hot-reload
activator "~run"
# custom port
activator "run 8080"
  1. compile
activator compile
  1. generate project for editor
activator [eclipse|idea]
  1. work with modules (build.sbt)
# load new modules
activator clean dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.