Skip to content

Instantly share code, notes, and snippets.

@niqdev
Created March 8, 2017 18:06
Show Gist options
  • Save niqdev/0f52040e796e1ee7fd2d5aa73452c78e to your computer and use it in GitHub Desktop.
Save niqdev/0f52040e796e1ee7fd2d5aa73452c78e to your computer and use it in GitHub Desktop.

Install Play

wget https://downloads.typesafe.com/typesafe-activator/1.3.12/typesafe-activator-1.3.12-minimal.zip -P Downloads/
unzip Downloads/typesafe-activator-1.3.12-minimal.zip -d ~/opt/typesafe

# add to PATH
vim .bashrc
export ACTIVATOR='~/opt/typesafe/activator-1.3.12-minimal/'
export PATH=$PATH:$ACTIVATOR/bin
source .bashrc

Scaffold template project

activator new PROJECT_NAME play-scala

# alternatively
activator ui

sbt run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment