Created
August 14, 2014 13:19
-
-
Save cansadadeserfeliz/95a13ba5d0fc95f09dd9 to your computer and use it in GitHub Desktop.
Bundler + Compass in Django project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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