setup - akcdotorg/akc.org GitHub Wiki
-
Install Ruby On Rails with rbenv and bundler:
Follow instructions here: http://wylbur.us/2014-09-10-ruby-sass-and-compass-in-ubuntu-1404-the-right-way-with-rbenv-and-bundler -
Initialize the project in your local: Assuming your webroot is /var/www/akc-org/
- cd /var/www/akc-org/
- git fetch origin
- git checkout scss-to-compass
- git pull origin scss-to-compass
- cd public_html/assets/akcorg/
- bundle (follow any instructions, report any errors to Kyle, and we'll add to this documentation as we go)
- When editing scss:
- cd /var/www/akc-org/public_html/assets/akcorg/
- bundle exec compass watch
#Setup Compass on MAC(MAMP) step by step
-
Install Bower
- sudo npm install -g bower grunt-cli
-
Install Foundation
- sudo gem install foundation
-
Install Homebrew
- /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-
Run update if needed.
- brew update
-
Install RBENV
- brew install rbenv
-
Install Ruby versions(list all available versions)
- rbenv install -l
- rbenv install Example: 2.0.0-p247
-
Install Compass
- sudo gem install compass
-
Install Bundler, do sudo if permission error
- gem install bundler
-
Install missing bundles
- bundle install
-
Run compass
- bundle exec compass watch
-
Reference Links: