-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.sample-env
executable file
·42 lines (35 loc) · 1015 Bytes
/
.sample-env
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
# Bot authentication and target guild parameters
# GUILD_ID is your dev server's id
TOKEN = "YOUR.BOTS.AUTHENTICATION.TOKEN"
CLIENT_ID = "BOT CLIENT ID"
GUILD_ID = "TARGET SERVER ID"
# Local PostgreSQL config
# This is used by the chatot and dex schemas
PGUSER = "postgresusername"
PGPASSWORD = "postgrespw"
PGHOST = "localhost"
PGPORT = 5432
# Local MySQL config
# This is used by xenforo
PGDATABASE = "mydb"
SQLUSER = "mysqlusername"
SQLPASSWORD = "mysqlpw"
SQLHOST = "localhost"
SQLPORT = 3306
SQLDATABASE = "mysqldb"
SQLSOCKETPATH = ""
INTERNAL_DATA_PATH = "/path/to/internal_data"
# SSH remote Postgres db credentials
# Requires 'basicdev' access on the production server
# OPTIONAL
SMOGON_PG_USER = "basicdev"
SMOGON_PG_DATABASE = "smogon"
SMOGON_PG_HOST = "path/to/forwarded/socket"
# Toggle to use the local or SSH remote postgres db
# defaults: false
# OPTIONAL
SSH = false
# The mode to be in ('dev' or 'production')
# defaults: 'production'
# OPTIONAL, (technically) but set it to dev
MODE = 'dev'