Run server :
rails server
2.2.0
Ruby, Rails, Rake To install dependencies, run
bundle install
Dev : To create the sqlite database run :
rake db:migrate
Dev : To initialize databse or apply migrations run :
rake db:migrate
If you need to seed the database with ETS courses and programs :
rake db:seed
run:
rake test
To deploy on Heroku, you need the Heroku toolbelt installed
-
Make sure every environnement variables are set in heroku
heroku config
If not, add them this command
heroku config:add KEY=VALUE
-
Collect all assets locally before deployement :
RAILS_ENV=production bundle exec rake assets:precompile
-
Deploy it
git push heroku master