-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.env.template
27 lines (19 loc) · 1.01 KB
/
.env.template
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
# You should have your own version of this file in the root of the project, named as `.env`
NODE_ENV="development"
# Get a Discord Client ID + Secret by creating a Discord App in https://discordapp.com/developers/applications
DISCORD_CLIENT_ID="some_id_from_discord"
DISCORD_CLIENT_SECRET="some_secret_from_discord"
DISCORD_BOT_TOKEN="some_bot_token"
# Some secret we use when setting our own JWT tokens for validation purposes. Read more in: https://jwt.io/introduction/
JWT_SECRET="some_password_we_define"
# The port where the server will run. 8080 is a good number, but feel free to use some other if you feel like it
PORT=8080
# The protocol + host + port if needed. For the local environment it should be http://localhost:<PORT>
HOST="http://localhost:8080"
# The connection URL for postgres
DATABASE_URL= 'postgres://<USERNAME>:<PASSWORD>@<HOST>:<PORT>/<DATABASE>'
# Get a Challonge API key
CHALLONGE_USERNAME="some_challonge_username"
CHALLONGE_API_KEY="some_challonge_api_key"
# Error logger
SENTRY_DSN='some_sentry_dsn'