mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
If you’re not already familiar with [Skylight](https://www.skylight.io), it is a smart profiler for Rails apps. Skylight makes it easy to pinpoint performance issues in Rails applications. We work on a lot of open source projects ourselves, and in our experience it can be pretty hard to get contributors to work on application performance issues. Few contributors consider working on performance problems, and the ones that might be interested may not even know where to start. By making performance information more accessible, we hope to inspire potential contributors to tackle slow parts of your app, and have a good way to see if their contributions helped. Local deployments that are interested in this can request an API token from https://www.skylight.io/oss and set it in `config/application.yml` (if no token is set, it will log a message to `log/skylight.log` but won't otherwise prevent the app from working normally).
41 lines
1.9 KiB
Plaintext
41 lines
1.9 KiB
Plaintext
# Add application configuration variables here, as shown below.
|
|
#
|
|
# Change this, it has serious security implications.
|
|
# Minimum 30 but usually 128 characters. To obtain run 'rake secret', or faster, 'openssl rand -hex 128'
|
|
SECRET_TOKEN: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
|
|
TIMEZONE: Melbourne
|
|
# Default country for dropdowns etc. See for codes: http://en.wikipedia.org/wiki/ISO_3166-1
|
|
DEFAULT_COUNTRY_CODE: AU
|
|
# Locale for translation.
|
|
LOCALE: en
|
|
# For multilingual - ENV doesn't have array so pass it as string with commas
|
|
AVAILABLE_LOCALES: en,es,en-GB
|
|
# Spree zone.
|
|
CHECKOUT_ZONE: Australia
|
|
# Find currency codes at http://en.wikipedia.org/wiki/ISO_4217.
|
|
CURRENCY: AUD
|
|
|
|
# SingleSignOn login for Discourse
|
|
#
|
|
# DISCOURSE_SSO_SECRET should be a random string. It must be the same as provided to your Discourse instance.
|
|
#DISCOURSE_SSO_SECRET: ""
|
|
#
|
|
# DISCOURSE_URL must be the URL of your Discourse instance.
|
|
#DISCOURSE_URL: "https://noticeboard.openfoodnetwork.org.au"
|
|
|
|
# see: https://developers.google.com/maps/documentation/javascript/get-api-key
|
|
# GOOGLE_MAPS_API_KEY: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
|
|
# optional, see: https://www.skylight.io/oss
|
|
# SKYLIGHT_AUTHENTICATION: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
|
|
# Stripe Connect details for instance account
|
|
# Find these under 'API keys' and 'Connect' in your Stripe account dashboard -> Account Settings
|
|
# Under 'Connect', the Redirect URI should be set to https://YOUR_SERVER_URL/stripe/callbacks (e.g. https://openfoodnetwork.org.uk/stripe/callbacks)
|
|
# Under 'Webhooks', you should set up a Connect endpoint pointing to https://YOUR_SERVER_URL/stripe/webhooks e.g. (https://openfoodnetwork.org.uk/stripe/webhooks)
|
|
# STRIPE_INSTANCE_SECRET_KEY: "sk_test_xxxxxx" # This can be a test key or a live key
|
|
# STRIPE_INSTANCE_PUBLISHABLE_KEY: "pk_test_xxxx" # This can be a test key or a live key
|
|
# STRIPE_CLIENT_ID: "ca_xxxx" # This can be a development ID or a production ID
|
|
# STRIPE_ENDPOINT_SECRET: "whsec_xxxx"
|