diff --git a/README.rdoc b/README.rdoc index 5f40e2f..5ad7542 100644 --- a/README.rdoc +++ b/README.rdoc @@ -25,6 +25,9 @@ Things you may want to cover: * ... +== One time setup for project + +Create two ENV variables for ENV["ADMIN_PASS"] and ENV["ADMIN_USER"] for username and password for admin user == Before committing/pushing code diff --git a/config/database.yml b/config/database.yml index 8dffb08..8158ab0 100644 --- a/config/database.yml +++ b/config/database.yml @@ -7,8 +7,8 @@ default: &default host: localhost adapter: postgresql encoding: unicode - user: <%= Rails.application.secrets[:database]["username"] %> - password: <%= Rails.application.secrets[:database]["password"] %> + user: <%= Rails.application.secrets[:database][:username] %> + password: <%= Rails.application.secrets[:database][:password] %> pool: 5 encoding: utf8