Skip to content

Instantly share code, notes, and snippets.

@hawkup
Last active May 15, 2019 16:20
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hawkup/282ccbb49e74a7a5d4c9 to your computer and use it in GitHub Desktop.
Save hawkup/282ccbb49e74a7a5d4c9 to your computer and use it in GitHub Desktop.
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