- You should edit the
database.sample.ymlfile, 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.ymlvi config/database.yml(changevito your favorite editor)
####Migration:
rake db:create db:migrate db:seedto 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.ymlto set up the facebook auth and other configurations.
rspec spec/to run RSpec (Controller/Models/etc) testscucumberto run cucumber testsrake jasmineto 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