update readme with info about db name

This commit is contained in:
carlad 2016-02-24 23:42:50 +01:00
parent ec8ef98c0d
commit 54572a5ded

View File

@ -17,6 +17,8 @@ This is the app running on https://api.travis-ci.org/
### Database setup
NB detail for how `rake` sets up the database can be found in the `Rakefile`. In the `namespace :db` block you will see the database name for development is hardcoded to `travis-development`. If you are using a different configuration you will have to make your own adjustments.
1. `bundle exec rake db:create`
2. for testing 'RAILS_ENV=test bundle exec rake db:create --trace'
1. Clone `travis-logs` and copy the `logs` database (assume the PostgreSQL user is `postgres`):