Skip to content

kaeff/spare-plan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spare-plan

SpaRe Plan - Single-Page App for Resource Planning

An enterprisey single-page app.

Requirements

  1. Ruby 1.9, RubyGems, Bundler
  2. node.js, npm

Post cloning

$ bundle install
$ npm install bower
$ bower install

Database

Setup

$ rake db:setup db:migrate

Load fixtures:

$ rake db:data:load

Launch development server:

$ rails server

Testing

BDD using RSpec

Execute tests during development:

$ bundle exec guard

Running in production mode

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.

About

An enterprisey single-page app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors