Skip to content

Configurations

Ardalan Samimi edited this page Jun 30, 2018 · 1 revision

The configuration options can be found in the file index.js inside the ./raspbot/config directory:

Option Description
oauth.id Github OAuth key for making authenticated requests when checking for updates (optional)
oauth.secret Github OAuth secret for making authenticated requests when checking for updates (optional)
port The server port (default: 5000)
httpsPort The port to use for HTTPs (default: 5443)
databasePath Path to user credentials database (default: config/db.json)
httpsOpts.cert Path to SSL certificate (default: config/.sslcert/fullchain.pem)
httpsOpts.key Path to SSL certificate key (default: config/.sslcert/privkey.pem)

Note: The httpsOpts options are used when enabling HTTPs (See Enabling HTTPs).