mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
The closer the test environment is to the production environment the more realistic the tests will be, and the more code we test. We are now able to test the app behaviour on timeouts which I want to do for reports. We can also catch incompatibilities with the rack-timeout gem during testing.
20 lines
558 B
Plaintext
20 lines
558 B
Plaintext
# ENV vars for the development environment
|
|
# Override locally with `.env.development.local`
|
|
#
|
|
# You may also want to use this when testing other environments locally:
|
|
#
|
|
# cp .env.development .env.local
|
|
|
|
SECRET_TOKEN="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
|
|
|
OFN_REDIS_URL="redis://localhost:6379/1"
|
|
OFN_REDIS_JOBS_URL="redis://localhost:6379/2"
|
|
|
|
SITE_URL="0.0.0.0:3000"
|
|
|
|
# Deactivate rack-timeout in development.
|
|
# https://github.com/zombocom/rack-timeout#configuring
|
|
RACK_TIMEOUT_SERVICE_TIMEOUT="0"
|
|
RACK_TIMEOUT_WAIT_TIMEOUT="0"
|
|
RACK_TIMEOUT_WAIT_OVERTIME="0"
|