mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-01-29 11:41:00 -05:00
Ugh, I know. But it's not any less secure than having it out there in our Javascript, and it turns out Heroku just downright *refuses* to read it from an environment variable during asset compilation. I even tried an experimental Heroku addon (https://devcenter.heroku.com/articles/labs-user-env-compile) but it didn't work, so for now let's just do this and get it out there. I'm sick of messing with it.
40 lines
1.3 KiB
Bash
Executable File
40 lines
1.3 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
# This file is an empty sample file which you (i.e. Growstuff
|
|
# developers) can copy and use to store your API credentials for
|
|
# external APIs used by the Growstuff application.
|
|
|
|
# To use this file, simply copy it to credentials.sh (which is
|
|
# .gitignore'd) and then fill in whatever credentials you need. Then in
|
|
# the window where you run "rails s", first run:
|
|
#
|
|
# source credentials.sh
|
|
#
|
|
# If you then run "rails s", it will have all the environment variables
|
|
# available to it.
|
|
|
|
### CREDENTIALS ###
|
|
|
|
# Mandrill is used to send transactional email (eg. signup
|
|
# confirmations). If using Heroku connect to Mandrill via Heroku addons
|
|
# list then go to tools menu (upper right) and choose "SMTP and API
|
|
# Credentials"
|
|
export MANDRILL_USERNAME=""
|
|
export MANDRILL_APIKEY=""
|
|
|
|
# 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=""
|
|
|
|
# Used for subscribing/unsubscribing people from the newsletter
|
|
export MAILCHIMP_APIKEY=""
|
|
# Used to identify the newsletter via the API
|
|
# Fetch list IDs using Gibbon: puts gb.lists.list.to_yaml
|
|
export MAILCHIMP_NEWSLETTER_ID=""
|