2018-09-10 09:55:26 -07:00
|
|
|
# Environment variable overrides for local development
|
|
|
|
FLASK_APP=app.py
|
|
|
|
FLASK_ENV=development
|
2019-01-24 12:17:24 -08:00
|
|
|
SITE_URL="https://zfnd.org" # No trailing slash
|
2019-04-16 10:38:14 -07:00
|
|
|
ADMIN_SITE_URL="https://grants-admin.zfnd.org" # No trailing slash
|
2018-09-10 09:55:26 -07:00
|
|
|
DATABASE_URL="sqlite:////tmp/dev.db"
|
|
|
|
REDISTOGO_URL="redis://localhost:6379"
|
|
|
|
SECRET_KEY="not-so-secret"
|
2018-11-14 06:30:18 -08:00
|
|
|
SENDGRID_API_KEY="optional, but emails won't send without it"
|
2018-11-25 20:02:35 -08:00
|
|
|
|
2019-03-07 12:04:40 -08:00
|
|
|
# set this so third-party cookie blocking doesn't kill backend sessions (production)
|
|
|
|
# SESSION_COOKIE_DOMAIN="zfnd.org"
|
2019-04-04 18:32:20 -07:00
|
|
|
# Limit CORS to these domains, no spaces in seperators. Defaults to '*'.
|
|
|
|
# CORS_DOMAINS="domain.com,domain2.com"
|
2019-03-07 12:04:40 -08:00
|
|
|
|
2018-11-21 21:45:29 -08:00
|
|
|
# SENTRY_DSN="https://PUBLICKEY@sentry.io/PROJECTID"
|
2019-01-18 10:33:51 -08:00
|
|
|
# SENTRY_RELEASE="optional, provides sentry logging with release info"
|
2018-11-25 20:02:35 -08:00
|
|
|
|
2018-12-14 11:36:22 -08:00
|
|
|
AWS_ACCESS_KEY_ID=your-user-access-key
|
|
|
|
AWS_SECRET_ACCESS_KEY=your-user-secret-access-key
|
|
|
|
AWS_DEFAULT_REGION=us-west-2
|
|
|
|
S3_BUCKET=your-bucket-name
|
2019-01-02 10:23:02 -08:00
|
|
|
|
|
|
|
GITHUB_CLIENT_ID=github-client-id
|
|
|
|
GITHUB_CLIENT_SECRET=github-client-secret
|
|
|
|
TWITTER_CLIENT_ID=twitter-client-id
|
|
|
|
TWITTER_CLIENT_SECRET=twitter-client-secret
|
|
|
|
LINKEDIN_CLIENT_ID=linkedin-client-id
|
|
|
|
LINKEDIN_CLIENT_SECRET=linkedin-client-secret
|
2019-01-06 22:58:33 -08:00
|
|
|
|
|
|
|
BLOCKCHAIN_REST_API_URL="http://localhost:5051"
|
2019-01-08 14:58:32 -08:00
|
|
|
BLOCKCHAIN_API_SECRET="ef0b48e41f78d3ae85b1379b386f1bca"
|
2019-01-16 21:20:10 -08:00
|
|
|
|
2019-01-23 13:30:03 -08:00
|
|
|
# Blockchain explorer to link to. Top for mainnet, bottom for testnet.
|
2019-03-14 21:16:38 -07:00
|
|
|
# EXPLORER_URL="https://chain.so/tx/ZEC/<txid>"
|
|
|
|
EXPLORER_URL="https://chain.so/tx/ZECTEST/<txid>"
|
2019-01-31 14:56:16 -08:00
|
|
|
|
2019-03-18 11:35:08 -07:00
|
|
|
# Amount for staking a proposal in ZEC, keep in sync with frontend .env
|
2019-01-31 14:56:16 -08:00
|
|
|
PROPOSAL_STAKING_AMOUNT=0.025
|
2019-03-18 11:35:08 -07:00
|
|
|
|
|
|
|
# Maximum amount for a proposal target, keep in sync with frontend .env
|
|
|
|
PROPOSAL_TARGET_MAX=10000
|