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 updatesudo apt-get install default-jdkexport JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64export PATH=$PATH:/usr/lib/jvm/java-7-openjdk-amd64/bincd /usr/lib/sudo wget http://archive.apache.org/dist/ant/binaries/apache-ant-1.8.4-bin.tar.gzsudo unzip apache-ant-1.8.4-bin.tar.gzexport ANT_HOME=/usr/lib/apache-ant-1.8.4export PATH=$PATH:/usr/lib/apache-ant-1.8.4/bincdcurl -s get.gvmtool.net | bashgvm install grails 2.3.7gvm install groovy 1.8.8sudo apt-get install rubyexport RUBY_HOME=/usr/lib/rubyexport PATH=$PATH:/usr/lib/ruby/bingem install sass --version 3.1.3gem install compass --version 0.11.7sudo npm install -g grunt-cli
And that should be it. That’s the basic setup for the current architechture that we’re using. You should already have npm installed if you did the Atom setup earlier but in case you didn’t:
curl -sL https://deb.nodesource.com/setup | bash -
sudo apt-get install nodejs
should get that set up for you.
1
Kudos
1
Kudos