Join the official Discord server!
node server
To start the server for the first time. The application will automatically stop to create the configuration filepm2 start server.js
or node server --self-pm
To start the server forevercertificate.key
in the certificates foldercertificate.crt
in the certificates folderAdd run argument --self-pm
to automatically restart after an update or crash
MONGODB_CONNECTION_STRING
ex. mongodb://user:password@host:port/database.HIDDEN_CONFIG_TABS
ex. web_server;databaseHTTPS_SERVER_DISABLED
completely disables the HTTPS server, HTTP server will be used as only serverHTTPS_PORT
overrides the HTTPS port set from the configuration file{
"web_server": {
"bind_ip": "0.0.0.0",
"http_port": 80,
"https_port": 443,
"force_https": false,
"session_duration_hours": 168
},
"database": {
"mongo": {
"host": "127.0.0.1",
"port": 27017,
"database": "Whitelister"
}
},
"app_personalization": {
"name": "Whitelister",
"favicon": "",
"accent_color": "#ffc40b",
"logo_url": "https://joinsquad.com/wp-content/themes/squad/img/logo.png"
},
"other": {
"automatic_updates": true,
"update_check_interval_seconds": 3600,
"whitelist_developers": true
}
}