Skip to content

Commit

Permalink
handle secret_key_base using env var
Browse files Browse the repository at this point in the history
  • Loading branch information
dmacvicar committed Oct 20, 2017
1 parent 0e588be commit 3164e32
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ public/package
/log/*.log
/tmp

# Configuration files
config/options.yml
config/database.yml
config/secrets.yml

# i18n
locale/*/software.edit.po
locale/*/software.po.time_stamp
Expand Down
2 changes: 1 addition & 1 deletion config/secrets.yml.example → config/secrets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ test:
secret_key_base: 'CHANGE_ME_for_som3th1ng_R4ND0M_generated_WITH_0000rake_secret0000'

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

0 comments on commit 3164e32

Please sign in to comment.