- You should edit the
database.sample.yml
file, to your Postgres configuration. - You should create/migrate/seed the data.
- You should run the test suite to assure everything is O.K.
###Configuration (in the root dir, lol)
mv config/database.sample.yml config/database.yml
vi config/database.yml
(changevi
to your favorite editor)
####Migration:
rake db:create db:migrate db:seed
to prepare the app dbrake db:test:prepare
- to prepare the test db
####Running
rails s -p 3000
(you have to set the port to 3000 due to Facebook/Omniauth access)
####YAML files
vi config/config.yml
to set up the facebook auth and other configurations.
rspec spec/
to run RSpec (Controller/Models/etc) testscucumber
to run cucumber testsrake jasmine
to run jasmine (Javascript) tests WARNING - using gem jasminerice to jasmine tests
As we're using the Gem JasmineRice, you just need to bootup the server (rails s -p 3000
) and then
access the tests through the URL http://localhost:3000/jasmine