setup - akcdotorg/akc.org GitHub Wiki

Setting-up Compass and Foundation

  1. 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

  2. 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)
  1. When editing scss:
  • cd /var/www/akc-org/public_html/assets/akcorg/
  • bundle exec compass watch

#Setup Compass on MAC(MAMP) step by step

  1. Install Bower

    • sudo npm install -g bower grunt-cli
  2. Install Foundation

    • sudo gem install foundation
  3. Install Homebrew

  4. Run update if needed.

    • brew update
  5. Install RBENV

    • brew install rbenv
  6. Install Ruby versions(list all available versions)

    • rbenv install -l
    • rbenv install Example: 2.0.0-p247
  7. Install Compass

    • sudo gem install compass
  8. Install Bundler, do sudo if permission error

    • gem install bundler
  9. Install missing bundles

    • bundle install
  10. Run compass

    • bundle exec compass watch
  11. Reference Links:

⚠️ **GitHub.com Fallback** ⚠️