|
15 | 15 |
|
16 | 16 | # Settings in this file will be available to you as ENV['WHATEVER'] |
17 | 17 |
|
18 | | -# NOTE: please prefix all environment variables with GROWSTUFF_ to make |
| 18 | +# NOTE=please prefix all environment variables with GROWSTUFF_ to make |
19 | 19 | # it easy to identify which were set by us vs. the system or anyone else |
20 | 20 |
|
21 | 21 | ############################################################################## |
|
26 | 26 | # It's the only one without "GROWSTUFF_" prefix. |
27 | 27 | # To generate a real one, use 'rake secret' (you don't need to for |
28 | 28 | # dev, though.) |
29 | | -RAILS_SECRET_TOKEN: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" |
| 29 | +RAILS_SECRET_TOKEN="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" |
30 | 30 |
|
31 | 31 | # name that appears on the site, eg. in page titles |
32 | | -GROWSTUFF_SITE_NAME: Growstuff (dev) |
| 32 | +GROWSTUFF_SITE_NAME="Growstuff (dev)" |
33 | 33 |
|
34 | 34 | # Mailchimp is used for subscribing/unsubscribing people from the newsletter |
35 | 35 | # To fetch list IDs using Gibbon (and thus find the ID of your newsletter): |
36 | 36 | # $ rails c |
37 | 37 | # Gibbon::API.api_key = '...' |
38 | 38 | # gb = Gibbon::API.new |
39 | 39 | # puts gb.lists.list.to_yaml |
40 | | -GROWSTUFF_MAILCHIMP_APIKEY: "" |
41 | | -GROWSTUFF_MAILCHIMP_NEWSLETTER_ID: "" |
| 40 | +GROWSTUFF_MAILCHIMP_APIKEY="" |
| 41 | +GROWSTUFF_MAILCHIMP_NEWSLETTER_ID="" |
42 | 42 |
|
43 | 43 | # Used for connecting member accounts to Twitter |
44 | 44 | # Get Twitter key from https://dev.twitter.com/apps |
45 | | -GROWSTUFF_TWITTER_KEY: "" |
46 | | -GROWSTUFF_TWITTER_SECRET: "" |
| 45 | +GROWSTUFF_TWITTER_KEY="" |
| 46 | +GROWSTUFF_TWITTER_SECRET="" |
47 | 47 |
|
48 | 48 | # Used for connecting member accounts to Flickr |
49 | 49 | # Get Flickr key from http://www.flickr.com/services/apps/create/apply/ |
50 | | -GROWSTUFF_FLICKR_KEY: "" |
51 | | -GROWSTUFF_FLICKR_SECRET: "" |
| 50 | +GROWSTUFF_FLICKR_KEY="" |
| 51 | +GROWSTUFF_FLICKR_SECRET="" |
52 | 52 |
|
53 | 53 | # https://developers.facebook.com/ |
54 | | -GROWSTUFF_FACEBOOK_KEY: "" |
55 | | -GROWSTUFF_FACEBOOK_SECRET: "" |
56 | | - |
57 | | -GROWSTUFF_MAPBOX_MAP_ID: "" |
58 | | -GROWSTUFF_MAPBOX_ACCESS_TOKEN: "" |
59 | | - |
60 | | -############################################################################## |
61 | | -# Other environments |
62 | | -# You can override the above for staging, production, etc. |
63 | | -# To push these settings to Heroku, use "rake figaro:heroku --app=whatever". |
64 | | -# To see current settings on Heroku, use "heroku config --app=whatever". |
65 | | -############################################################################## |
66 | | - |
67 | | -### EMAil addres for notifier and mailers to use as from |
68 | | -GROWSTUFF_EMAIL: ' [email protected]' |
69 | | - |
70 | | -test: |
71 | | - GROWSTUFF_SITE_NAME: Growstuff (test) |
72 | | - |
73 | | -# Note: there is no good way to deploy settings from Figaro to |
74 | | -# Travis-CI. If you need env vars set there in order for tests to pass, |
75 | | -# set them in .travis.yml |
76 | | - |
77 | | -staging: |
78 | | - GROWSTUFF_SITE_NAME: Growstuff (staging) |
79 | | - |
80 | | -production: |
81 | | - GROWSTUFF_SITE_NAME: Growstuff |
| 54 | +GROWSTUFF_FACEBOOK_KEY="" |
| 55 | +GROWSTUFF_FACEBOOK_SECRET="" |
| 56 | + |
| 57 | +# Elasticsearch is used for flexible search and it requires another component |
| 58 | +# to be installed. To make it easy for people who don't need to test this feature |
| 59 | +# it's been turned off for test and development environment as a default. |
| 60 | +# If you want to test this functionality, install elasticsearch and |
| 61 | +# set this flag to "true". |
| 62 | +GROWSTUFF_ELASTICSEARCH="true" |
| 63 | +GROWSTUFF_EMAIL=' [email protected]' |
0 commit comments