Created
January 17, 2014 15:51
-
-
Save phudgins/8475711 to your computer and use it in GitHub Desktop.
Install scala, sbt and play
This file contains 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
# Scala | |
mv ~/Desktop/scala-2.10.2 /usr/local | |
ln -s /usr/local/scala-2.10.2 /usr/local/share/scala | |
export SCALA_HOME=/usr/local/share/scala | |
export PATH=/usr/local/bin:$PATH:/usr/bin:/bin:/usr/sbin:/sbin:$SCALA_HOME/bin | |
# sbt | |
mv ~/Desktop/sbt /usr/local | |
ln -s /usr/local/sbt /usr/local/share/sbt | |
export SBT_HOME=/usr/local/share/sbt | |
export PATH=$PATH:$SBT_HOME/bin | |
mkdir .sbt/0.13 | |
vim .sbt/0.13/artifactory.sbt | |
# in vim replace all nbsp characters: | |
:%s/\%xa0/ /gc | |
# Play | |
mkdir tools | |
mv ~/Desktop/play-2.2.0 ~/tools | |
ln -s ~/tools/play-2.2.0 ~/tools/play | |
export PLAY_HOME=/Users/pete/tools/play | |
export PATH=$PATH:$PLAY_HOME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment