Set up Ubuntu Drupalpro VM for Aurora with Sass, Compass and Yeoman
First install Aurora as you would any other theme on Drupal, you can get it here https://www.drupal.org/project/aurora or if you use drush
- drush dl aurora
- drush en aurora
Aurora suggests installing helper modules Magic https://www.drupal.org/project/magic and HTML5 Tools https://www.drupal.org/project/html5_tools
To get the most out of the Drupal Aurora theme you need to set up Sass, Compass and Yeoman. First install Ruby and build-essential and then ruby gems, then set your path for ruby gems and last install compass which will install sass by default.
- sudo apt-get install ruby-full build-essential
- sudo apt-get install rubygems
- export PATH=/var/lib/gems/1.8/bin:$PATH
- sudo gem install compass
Now that you have ruby, gems, sass and compass installed you will need to install Yeoman to help create your subthemes. First make sure you have node.js installed, to get the latest.
curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash -
Then install with:
sudo apt-get install -y nodejs
Now install Yeoman with:
npm install -g yo generator-drupal-theme
And to update it
npm update -g generator-drupal-theme
Finally from within you theme folder sites/all/themes run:
yo drupal-theme
And follow the prompts