forked from shinyfinder/chatot-smogon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.sample-env
executable file
·50 lines (42 loc) · 1.33 KB
/
.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
43
44
45
46
47
48
49
50
# 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'
# Whether to skip connecting to the local PG/MySQL databases
# Skipping the connection to the dbs will allow Chatot to be run locally without setting up a db schema,
# but many of its commands will error or not work as a result.
# Useful for contributing minor additions without needing a full setup
# defaults: false
# OPTIONAL
SKIP_DB = false