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.

  1. sudo apt-get update
  2. sudo apt-get install default-jdk
  3. export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
  4. export PATH=$PATH:/usr/lib/jvm/java-7-openjdk-amd64/bin
  5. cd /usr/lib/
  6. sudo wget http://archive.apache.org/dist/ant/binaries/apache-ant-1.8.4-bin.tar.gz
  7. sudo unzip apache-ant-1.8.4-bin.tar.gz
  8. export ANT_HOME=/usr/lib/apache-ant-1.8.4
  9. export PATH=$PATH:/usr/lib/apache-ant-1.8.4/bin
  10. cd
  11. curl -s get.gvmtool.net | bash
  12. gvm install grails 2.3.7
  13. gvm install groovy 1.8.8
  14. sudo apt-get install ruby
  15. export RUBY_HOME=/usr/lib/ruby
  16. export PATH=$PATH:/usr/lib/ruby/bin
  17. gem install sass --version 3.1.3
  18. gem install compass --version 0.11.7
  19. sudo 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

Now read this

Getting Started (Git, Drivers, and Atom)

For me, once I’ve installed Ubuntu there’s a pretty straight line of things I need to do before I can actually get down to work. Some of these are completely dependent on whatever technlology you’re working with so I’m going to outline... Continue →