Created
March 14, 2015 15:11
-
-
Save ryane/75ffbe2dcc0997399d85 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
development: | |
adapter: postgresql | |
encoding: unicode | |
pool: 5 | |
database: sample_app_rails_4_development | |
host: <%= ENV['SAMPLE_APP_RAILS_4_DB_HOST'] %> | |
port: <%= ENV['SAMPLE_APP_RAILS_4_DB_PORT'] %> | |
username: <%= ENV['SAMPLE_APP_RAILS_4_DB_USER'] %> | |
password: <%= ENV['SAMPLE_APP_RAILS_4_DB_PASSWORD'] %> | |
# Warning: The database defined as "test" will be erased and | |
# re-generated from your development database when you run "rake". | |
# Do not set this db to the same as development or production. | |
test: &test | |
adapter: postgresql | |
encoding: unicode | |
database: sample_app_rails_4_test | |
pool: 5 | |
host: <%= ENV['SAMPLE_APP_RAILS_4_DB_HOST'] %> | |
port: <%= ENV['SAMPLE_APP_RAILS_4_DB_PORT'] %> | |
username: <%= ENV['SAMPLE_APP_RAILS_4_DB_USER'] %> | |
password: <%= ENV['SAMPLE_APP_RAILS_4_DB_PASSWORD'] %> | |
production: | |
adapter: postgresql | |
encoding: unicode | |
database: <%= ENV['RDS_DB_NAME'] %> | |
username: <%= ENV['RDS_USERNAME'] %> | |
password: <%= ENV['RDS_PASSWORD'] %> | |
host: <%= ENV['RDS_HOSTNAME'] %> | |
port: <%= ENV['RDS_PORT'] %> | |
cucumber: | |
<<: *test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
use dotenv to manage environment variables for development and test