diff options
author | elijah <elijah@riseup.net> | 2015-03-31 10:52:07 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2015-03-31 10:52:07 -0700 |
commit | e4679c66565d0ccae54ffc58a23083841e5585e7 (patch) | |
tree | 2cc7fbb5d3e6a48d21a605a8411da38ea8c999e3 /README.md | |
parent | 2365129a1dcbb1231f0ac22d4bf975007a0c460d (diff) |
fix travis: use couchdb.admin.yml and pin travis ruby version to one that is installed on travis-ci.org
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -113,7 +113,8 @@ Running To run leap_web: cd leap_web - bin/rake couchrest:migrate + bin/rake db:rotate + bin/rake db:migrate bin/rails server Then open http://localhost:3000 in your web browser. @@ -124,12 +125,19 @@ powers by creating an account with username 'staff', 'blue', or 'red' To peruse the database, visit http://localhost:5984/_utils/ +The task `db:rotate` must come before `db:migrate`, in order to assure that +the special rotating databases get created. + +Do not run the normal CouchRest task 'couchrest:migrate'. Instead, use +'db:rotate' since the latter will correctly use the couchdb.admin.yml file. + Testing -------------------------------- To run all tests - bin/rake couchrest:migrate # if not already run + bin/rake RAILS_ENV=test db:rotate # if not already run + bin/rake RAILS_ENV=test db:migrate # if not already run bin/rake test To run an individual test: |