Skip to content

Commit

Permalink
secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
drampelt committed Jul 10, 2015
1 parent 994b0e0 commit 305065b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ capybara-*.html
rerun.txt
pickle-email-*.html

# TODO Comment out these rules if you are OK with secrets being uploaded to the repo
config/initializers/secret_token.rb
config/secrets.yml

## Environment normalisation:
/.bundle
/vendor/bundle
Expand Down
9 changes: 9 additions & 0 deletions config/secrets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Generated with `rake secret`
development:
secret_key_base: 781b3204fc8669bd67f4a09f9f8af4f820bade2944c2d35794ffc37b6f4d2151f750bedd9be0c3433c854d2881caadbc2a717f204382bfbf2c586bc3693bc651

test:
secret_key_base: 781b3204fc8669bd67f4a09f9f8af4f820bade2944c2d35794ffc37b6f4d2151f750bedd9be0c3433c854d2881caadbc2a717f204382bfbf2c586bc3693bc651

production:
secret_key_base: <%= ENV['SECRET_KEY_BASE'] %>

0 comments on commit 305065b

Please sign in to comment.