Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down