mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-23 07:18:22 -04:00
moved flickr and twitter api config to figaro
This commit is contained in:
1 parent
b61bbc2170
commit
72ce69ea8f
3 files changed
+12
-12
No files matched your search
@@ -33,6 +33,16 @@ GROWSTUFF_MAILCHIMP_APIKEY: ""
|
||||
# puts gb.lists.list.to_yaml
|
||||
GROWSTUFF_MAILCHIMP_NEWSLETTER_ID: ""
|
||||
|
||||
# Used for connecting member accounts to Twitter
|
||||
# Get Twitter key from https://dev.twitter.com/apps
|
||||
GROWSTUFF_TWITTER_KEY: ""
|
||||
GROWSTUFF_TWITTER_SECRET: ""
|
||||
|
||||
# Used for connecting member accounts to Flickr
|
||||
# Get Flickr key from http://www.flickr.com/services/apps/create/apply/
|
||||
GROWSTUFF_FLICKR_KEY: ""
|
||||
GROWSTUFF_FLICKR_SECRET: ""
|
||||
|
||||
# Paypal is used for payments, obviously.
|
||||
GROWSTUFF_PAYPAL_USERNAME: "dummy"
|
||||
GROWSTUFF_PAYPAL_PASSWORD: "dummy"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Rails.application.config.middleware.use OmniAuth::Builder do
|
||||
provider :twitter, ENV['TWITTER_KEY'], ENV['TWITTER_SECRET']
|
||||
provider :flickr, ENV['FLICKR_KEY'], ENV['FLICKR_SECRET']
|
||||
provider :twitter, ENV['GROWSTUFF_TWITTER_KEY'], ENV['GROWSTUFF_TWITTER_SECRET']
|
||||
provider :flickr, ENV['GROWSTUFF_FLICKR_KEY'], ENV['GROWSTUFF_FLICKR_SECRET']
|
||||
end
|
||||
@@ -25,13 +25,3 @@
|
||||
# generate a real secret key with 'rake secret' if you want one (you
|
||||
# don't need to for your dev machine though.)
|
||||
export RAILS_SECRET_TOKEN="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
||||
|
||||
# Used for connecting member accounts to Twitter
|
||||
# Get Twitter key from https://dev.twitter.com/apps
|
||||
export TWITTER_KEY=""
|
||||
export TWITTER_SECRET=""
|
||||
|
||||
# Used for connecting member accounts to Flickr
|
||||
# Get Flickr key from http://www.flickr.com/services/apps/create/apply/
|
||||
export FLICKR_KEY=""
|
||||
export FLICKR_SECRET=""
|
||||
Reference in new issue
Block a user