Created
March 31, 2014 08:10
-
-
Save mlocher/9887546 to your computer and use it in GitHub Desktop.
Installing PlayFramework on the Codeship
This file contains hidden or 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
#!/bin/sh | |
PLAY_VERSION="2.2.2" | |
curl -o play-${PLAY_VERSION}.zip http://downloads.typesafe.com/play/${PLAY_VERSION}/play-${PLAY_VERSION}.zip | |
unzip play-${PLAY_VERSION}.zip | |
export PATH=$PATH:~/play-${PLAY_VERSION} | |
play --version |
in CodeShip image there is already a "play" executable. So the path should be appropriate and the PlayFramework Play executable should be in front.
export PATH=./play-${PLAY_VERSION}:$PATH
Also for Play 1.4.1 the command to check version should be
play version
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Alternatively
sbt
is already installed and you should be able to install play via the steps listed on http://www.playframework.com/documentation/2.0/NewApplication under the section Create a new application without having Play installed