From 54572a5dede033c9f659fcd56505accf48ce532d Mon Sep 17 00:00:00 2001 From: carlad Date: Wed, 24 Feb 2016 23:42:50 +0100 Subject: [PATCH] update readme with info about db name --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 9b02729f..5f6aaee5 100644 --- a/README.md +++ b/README.md @@ -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`):