updating for coffeescript

This commit is contained in:
John Jarvis
2012-05-31 14:54:38 -04:00
parent 178cdc877e
commit 6c4a3cf618
2 changed files with 9 additions and 0 deletions

View File

@@ -196,6 +196,11 @@ case `uname -s` in
output "Installing virtualenv"
sudo pip install virtualenv virtualenvwrapper >> $LOG
}
command -v coffee &>/dev/null || {
output "Installing coffee script"
curl http://npmjs.org/install.sh | sh
npm install -g coffee-script
}
;;
*)
error "Unsupported platform"

View File

@@ -26,6 +26,10 @@ There is also a script "create-dev-env.sh" that automates these steps.
d) Install python virtualenv if necessary
sudo pip install virtualenv virtualenvwrapper
e) Install coffee script
curl http://npmjs.org/install.sh | sh
npm install -g coffee-script
3) Install Ubuntu dependencies (Linux users only)
sudo apt-get install curl python-virtualenv build-essential python-dev gfortran liblapack-dev libfreetype6-dev libpng12-dev libxml2-dev libxslt-dev yui-compressor coffeescript