Created
November 19, 2013 22:22
-
-
Save timrwood/7553645 to your computer and use it in GitHub Desktop.
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
# NPM | |
# Remove local node modules | |
rm -rf node_modules/ | |
# Remove npm shrinkwrap | |
rm npm-shrinkwrap.json | |
# YEOMAN | |
# Install yo red-django | |
# If there are conflicts, resolve them one by one. | |
yo red-django | |
# GRUNT | |
# Remove old grunt file | |
rm grunt.js | |
# Move robyn/tasks/*.js to grunt/tasks/*.js | |
mv robyn/tasks/* grunt/tasks | |
# Delete robyn folder | |
rm -rf robyn | |
# ROBYN | |
# Remove the robyn submodule | |
# Edit the .gitmodules file and remove the following lines | |
# [submodule ".robyn"] | |
# path = .robyn | |
# url = https://github.com/ff0000/red-boilerplate.git | |
# Delete robyn folder | |
rm -rf robyn | |
# Delete robyn.json | |
rm robyn.json | |
# SASS + COMPASS | |
# Delete boilerplate sass and move existing sass into source/scss. | |
mv project/source/scss/config.rb resources/compass/scss/project | |
rm -rf project/source/scss/* | |
mv resources/compass/scss/project/* project/source/scss | |
# Replace references to compass with their bower counterparts | |
# Before | |
# @import "caboose", | |
# "caboose/reset", | |
# "caboose/exports"; | |
# After | |
# @import "../lib/caboose/caboose", | |
# "../lib/caboose/src/caboose/reset", | |
# "../lib/caboose/src/caboose/exports"; | |
# Add rosy scss modules | |
mv resources/compass/scss/caboose/rosy project/source/scss/ | |
# Delete resources directory. | |
rm -rf resources | |
# Delete Gemfile | |
rm robyn.json | |
# JS | |
# Remove boilerplate js | |
rm -rf project/source/js | |
rm -rf project/source/templates | |
# Copy js into source folder | |
mv project/static/js project/source | |
# Copy jshint settings | |
mv -f project/source/js/.jshintrc . | |
# Edit grunt/config/jshint.js | |
# all: [ | |
# config.source + 'js/{,*/}*.js', | |
# '!**/js/libs/**' | |
# ] | |
# Remove "es5": true, option from .jshintrc | |
# Remove jshintignore | |
rm project/source/js/.jshintignore | |
# Remove .travis.yml | |
rm project/source/js/.travis.yml | |
# MISC | |
# Images and fonts and local directory | |
mv project/static/img project/source | |
mv project/static/fonts project/source | |
mv project/static/local project/source |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment