Skip to content

Commit

Permalink
Update config to read env vars.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunny Juneja committed Jan 30, 2015
1 parent c2b6bfa commit 9253fb1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/secrets.yml
Expand Up @@ -12,6 +12,8 @@

development:
secret_key_base: 42c3ecbc7d7dc0aa9678dcf082fa0dfa4000d760026af071f9e20b842c9dcccbbad326c5e4084f99ac8f1aef4ba2d21eefe65705b421dd2b8f7cf95d3a156c74
recaptcha_public_key: <%= ENV["RECAPTCHA_PUBLIC_KEY"] %>
recaptcha_secret_key: <%= ENV["RECAPTCHA_SECRET_KEY"] %>

test:
secret_key_base: ae20594fd6589bd152e74b496a99943ddf6fccf0a152a65bb061698688c08020a0db8ef4aaed9a0975e4da010324afbf87de3d4796bbda4f4a25c140a1db65b4
Expand All @@ -20,3 +22,5 @@ test:
# instead read values from the environment.
production:
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
recaptcha_public_key: <%= ENV["RECAPTCHA_PUBLIC_KEY"] %>
recaptcha_secret_key: <%= ENV["RECAPTCHA_SECRET_KEY"] %>

0 comments on commit 9253fb1

Please sign in to comment.