2022-11-08 09:44:52 -05:00
|
|
|
# STEPS TO SET UP
|
|
|
|
|
#
|
2023-03-13 14:42:11 -04:00
|
|
|
# 1. Copy this file to `.env`
|
2022-11-08 09:44:52 -05:00
|
|
|
#
|
2023-01-26 13:57:17 -05:00
|
|
|
# 2. If trying to send data to New Relic in development (monitor_mode: true),
|
|
|
|
|
# pull down NEW_RELIC_LICENSE_KEY from cloud.gov using `cf env`, then update New Relic section
|
2022-11-08 09:44:52 -05:00
|
|
|
#
|
2023-01-26 13:57:17 -05:00
|
|
|
# 3. Uncomment either the Docker setup or the direct setup
|
|
|
|
|
#
|
|
|
|
|
# 4. Comment out the other setup
|
2022-11-08 09:44:52 -05:00
|
|
|
#
|
2023-03-13 14:42:11 -04:00
|
|
|
# 5. Run `cd terraform/development; ./run.sh` to include service credentials in `.env`
|
2022-11-08 09:44:52 -05:00
|
|
|
|
2022-08-01 12:32:42 -07:00
|
|
|
# ## REBUILD THE DEVCONTAINER WHEN YOU MODIFY .ENV ###
|
2022-06-13 14:42:50 -07:00
|
|
|
|
2022-11-08 09:44:52 -05:00
|
|
|
#############################################################
|
|
|
|
|
|
|
|
|
|
# Application
|
2022-06-13 14:42:50 -07:00
|
|
|
NOTIFY_ENVIRONMENT=development
|
|
|
|
|
FLASK_APP=application.py
|
2023-01-23 10:00:03 -05:00
|
|
|
FLASK_DEBUG=true
|
2022-06-13 14:42:50 -07:00
|
|
|
WERKZEUG_DEBUG_PIN=off
|
|
|
|
|
|
|
|
|
|
NODE_VERSION=16.15.1
|
|
|
|
|
|
2022-11-08 09:44:52 -05:00
|
|
|
#############################################################
|
2022-06-13 14:42:50 -07:00
|
|
|
|
2022-11-08 09:44:52 -05:00
|
|
|
# Local Docker setup
|
|
|
|
|
# API_HOST_NAME=http://dev:6011
|
|
|
|
|
# REDIS_URL=redis://adminredis:6379/0
|
|
|
|
|
|
|
|
|
|
# Local direct setup
|
|
|
|
|
API_HOST_NAME=http://localhost:6011
|
|
|
|
|
REDIS_URL=redis://localhost:6379/0
|
2023-01-23 10:00:03 -05:00
|
|
|
|
|
|
|
|
#############################################################
|
|
|
|
|
|
|
|
|
|
# New Relic
|
|
|
|
|
NEW_RELIC_CONFIG_FILE=newrelic.ini
|
|
|
|
|
NEW_RELIC_LICENSE_KEY="don't write secrets to the sample file"
|