forked from coordinape/coordinape
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
105 lines (85 loc) · 3.49 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# Change this to your own address (this is first address of below mnemonic).
LOCAL_SEED_ADDRESS=0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266
# Note: use dashes instead of spaces for mnemonic since bash parses spaces incorrectly
DEV_SEED_PHRASE="test-test-test-test-test-test-test-test-test-test-test-junk"
REACT_APP_INFURA_PROJECT_ID=your_project_id
COORDINAPE_USER_ADDRESS=0xfad763da9051953fea58c2304395719a3b6ba361
IMAGES_AWS_BUCKET=coordinape
IMAGE_DIR=assets/static/images/
# separate allowed domains with commas
SIWE_ALLOWED_DOMAINS=localhost:3000,
REACT_APP_MAGIC_API_KEY=
# Default local variables
LOCAL_HASURA_PORT=8080
LOCAL_POSTGRES_PORT=5432
LOCAL_WEB_PORT=3000
LOCAL_POSTGRES_USER=postgres
LOCAL_POSTGRES_PASSWORD=postgrespassword
LOCAL_POSTGRES_DATABASE=postgres
# enable app debug and error logs
DEBUG=coordinape*
# Create a bot here: https://discord.com/developers/applications
# follow the config instructions here:
# https://github.com/coordinape/coordinape/pull/1625#issue-1434577977
DISCORD_BOT_CLIENT_ID=no_token
DISCORD_BOT_CLIENT_SECRET=no_token
DISCORD_BOT_REDIRECT_URI=http://localhost:3000/discord/link
# used by hasura notification events to authenticate notification requests
# with the discord bot
COORDINAPE_BOT_SECRET=bot-secret
# used by the discord bot to authenticate requests to hasura
HASURA_DISCORD_SECRET=discord-secret
# Enable local logging
# DEV_LOGGING=true
# Hardhat
HARDHAT_CHAIN_ID=1337
HARDHAT_PORT=8545
HARDHAT_GANACHE_CHAIN_ID=1338
HARDHAT_GANACHE_PORT=8546
HARDHAT_FORK_BLOCK=13500000
HARDHAT_OWNER_ADDRESS=0xYOUR_DEV_ADDRESS
TEST_ON_HARDHAT_NODE=
# used to fork mainnet when testing
HARDHAT_ARCHIVE_RPC_URL=https://mainnet.infura.io/v3/your_infura_project_id
# HASURA_GRAPHQL auto used by hasura CLI (used with ./hasura/config.yaml)
HASURA_GRAPHQL_ENDPOINT=http://localhost:8080
HASURA_GRAPHQL_ADMIN_SECRET=admin-secret
HASURA_EVENT_SECRET=event-secret
# Local Environment
REACT_APP_HASURA_URL=http://localhost:8080/v1/graphql
REACT_APP_S3_BASE_URL=http://coordinape.s3-website.localhost.localstack.cloud:4566
# NODE: Used for the node scripts and vercel serverless functions
NODE_HASURA_URL=http://localhost:8080/v1/graphql
TELEGRAM_BOT_TOKEN=your-telegramt-testing-bot-token
IMAGES_AWS_ENDPOINT=http://s3.localhost.localstack.cloud:4566
# Staging Environment
#REACT_APP_HASURA_URL=https://coordinape-staging.hasura.app/v1/graphql
#REACT_APP_S3_BASE_URL=https://coordinape-staging.s3.amazonaws.com/
# Production Environment
#REACT_APP_HASURA_URL=https://coordinape-prod.hasura.app/v1/graphql
#REACT_APP_S3_BASE_URL=https://coordinape-prod.s3.amazonaws.com/
# these are only needed to upload circle admin data to airtable
#AIRTABLE_API_KEY=...
#AIRTABLE_CRM_BASE_ID=...
#AIRTABLE_CRM_TABLE_ID=CircleAdmins
#MIXPANEL_PROJECT_TOKEN=...
# CI Environment - added as env vars in github if no conflicts exist
#NODE_HASURA_URL=http://localhost:8081/v1/graphql
#HASURA_GRAPHQL_ENDPOINT=http://localhost:8081
#REACT_APP_HASURA_URL=http://localhost:8081/v1/graphql
# for src/scripts
# go to https://www.figma.com/developers/api#authentication
FIGMA_ACCESS_TOKEN=
# These will need to be set to something meaningful for deployment, but in local can be unset
IMAGES_AWS_ACCESS_KEY_ID=tbd
IMAGES_AWS_SECRET_ACCESS_KEY=tbd
IMAGES_AWS_REGION=tbd
PGIVE_CIRCLE_MAX_PER_CRON=10
BASE_ACTIVE_POINTS=100;
MAX_BASE_ACTIVE_TOTAL=3000;
PER_ACTIVE_MONTH_BONUS=4;
MAX_ACTIVE_MONTH_BONUS=48;
MAX_NOTE_BONUS_PER_USER=30;
#this should be set to the last day of the previous month to enable backfilling
BACKFILL_TO=2022-12-31
# vim: ft=sh