Skip to content

Commit

Permalink
Added sensitive files to .gitignore and database.yml.sample added
Browse files Browse the repository at this point in the history
  • Loading branch information
abhi-sapate committed Feb 15, 2020
1 parent c0d63cf commit 347545d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ pickle-email-*.html
# TODO Comment out this rule if you are OK with secrets being uploaded to the repo
config/initializers/secret_token.rb
config/master.key
config/database.yml

# Only include if you have production secrets in this file, which is no longer a Rails default
# config/secrets.yml
Expand Down
8 changes: 4 additions & 4 deletions config/database.yml → config/database.yml.sample
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ default: &default
development:
<<: *default
database: after_life_development
user: 'postgres'
password: 'root'
user: ''
password: ''
host: localhost

# The specified database role being used to connect to postgres.
Expand Down Expand Up @@ -61,8 +61,8 @@ development:
test:
<<: *default
database: after_life_test
user: 'postgres'
password: 'root'
user: ''
password: ''
host: localhost

# As with config/credentials.yml, you never want to store sensitive information,
Expand Down

0 comments on commit 347545d

Please sign in to comment.