Install dev environment (Grails, Ruby, Sass, etc.)
This is tailored to my current project which is a Grails app using a few other tools like Ruby, RVM, Sass, Compass, and Groovy.
sudo apt-get update
sudo apt-get install default-jdk
export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
export PATH=$PATH:/usr/lib/jvm/java-7-openjdk-amd64/bin
cd /usr/lib/
sudo wget http://archive.apache.org/dist/ant/binaries/apache-ant-1.8.4-bin.tar.gz
sudo unzip apache-ant-1.8.4-bin.tar.gz
export ANT_HOME=/usr/lib/apache-ant-1.8.4
export PATH=$PATH:/usr/lib/apache-ant-1.8.4/bin
cd
curl -s get.gvmtool.net | bash
gvm install grails 2.3.7
gvm install groovy 1.8.8
sudo apt-get install ruby
export RUBY_HOME=/usr/lib/ruby
export PATH=$PATH:/usr/lib/ruby/bin
gem install sass --version 3.1.3
gem install compass --version 0.11.7
sudo npm install -g grunt-cli
And that should be it. That’s the basic setup for the current architechture that we’re...