SpaRe Plan - Single-Page App for Resource Planning
An enterprisey single-page app.
- Ruby 1.9, RubyGems, Bundler
- node.js, npm
$ bundle install
$ npm install bower
$ bower install
Setup
$ rake db:setup db:migrate
Load fixtures:
$ rake db:data:load
Launch development server:
$ rails server
BDD using RSpec
Execute tests during development:
$ bundle exec guard
During development, all build-time steps are either not performed on the fly (code generation) or not at all (concatenation, minification, compression, digesting). To run in production:
$ rails server -e production
To prepare the production environment (once):
$ RAILS_ENV=production rake db:setup
To just trigger a build:
$ rake assets:precompile
Build is written to public/assets. Don't forget to delete this directory again to re-enable on-the-fly compilation.