Skip to content

Instantly share code, notes, and snippets.

@christianvuerings
Last active August 29, 2015 14:14
Show Gist options
  • Select an option

  • Save christianvuerings/6626aadfe580eb5889d6 to your computer and use it in GitHub Desktop.

Select an option

Save christianvuerings/6626aadfe580eb5889d6 to your computer and use it in GitHub Desktop.

Steps

  • Move assets to /src
  • Fix rails_admin custom stylesheets (app/assets/stylesheets/rails_admin)
  • Copy package.json
  • Copy gulpfile.js
  • Controllers
    • Copy calcentral_config_controller.rb (app/controllers/calcentral_config_controller.rb)
    • Bootstrapcontroller
      • update index method
      • layout ==> false
    • ApplicationController
      • update initialize_calcentral_config
  • Specs
    • update spec/spec_helper.rb - ENV['RAILS_ENV'] == 'testext'
  • Routes.rb update
  • JS
    • remove application.js
    • update .jscsrc
    • update .jshintignore
  • CSS
    • remove application.scss
    • update datepicker.scss - remove @import "pikaday";
    • update colors.scss - $cc-color-alert
    • update _useful.scss - $alert-color - $cc-color-alert
    • update .scss-lint.yml
      • remove application.scss
      • add lib/**
    • update foundation_overrides.scss
    • copy foundation.css to src/assets/stylesheets/lib
    • replace asset-data-url(' with url('../images/
    • replace asset-url(' and asset-url("
    • remove foundation_global.scss
    • remove line with $table-line-height
    • update front-end-test.sh
      • (src/assets/...) - scss-lint
      • -verbose - npm install
      • add node version
  • Index - create src/index.html
  • Remove application.html.erb
  • Update .gitignore
  • Remove front-end gems
    • bundle install
  • npm install
  • Update README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment