Repo for TYTD V2
For config version 1.0.3
{
"branch": "PROD", // What branch should the server run? For developing, use DEV, for production, use PROD
"tytd": {
"version": "2.4.0" // tytd version, used site-wide
},
"DEVELOPMENT": { // development server branch
"data": { // everything involving the ./data folder
"wipe_onstart": true, // will wipe the data folder on server start
"wipe_cycle": true, // will enable the wipe cycle (timer)
"wipe_cycle_hours": "24", // timer for wipe cycle (if enabled)
"save_wipe_cycle": false // enable the saviing of the wipe timer
},
"server": { // backend server config
"port": 3000, // port for the server to run on
"logs": true, // use developer logs
"useHTTPS": false //enable HTTPS
}
},
// this is the same thing, but used for PRODUCTION instead of DEVELOPMENT,
// makes it easier to switch between the two
"PRODUCTION": {
"data": {
"wipe_onstart": false,
"wipe_cycle": true,
"wipe_cycle_hours": "24",
"save_wipe_cycle": true
},
"server": {
"port": 3750,
"logs": false,
"useHTTPS": false //enable HTTPS
}
},
"config_version": "1.0.3" // config file version
}