Skip to content

Instantly share code, notes, and snippets.

@cansadadeserfeliz
Created August 14, 2014 13:19
Show Gist options
  • Select an option

  • Save cansadadeserfeliz/95a13ba5d0fc95f09dd9 to your computer and use it in GitHub Desktop.

Select an option

Save cansadadeserfeliz/95a13ba5d0fc95f09dd9 to your computer and use it in GitHub Desktop.
Bundler + Compass in Django project
# Install the latest version of Node:
brew install node
# Install Bundler
sudo gem install bundler
bower install
# Install required node packages
npm install -g bower
# Using Bundler, install required gems
bundle install
# Compass compile
cd app/static/ && bundle update && bundle exec compass compile --force && cd ../../
# Collectstatic
./manage.py collectstatic --noinput --ignore=*.sass --ignore=bootstrap.css --ignore=config.rb --ignore=Gemfile*
# Migrate
./manage.py syncdb --noinput
./manage.py migrate --noinput --no-initial-data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment