Skip to content

Configuration Management

anlausch edited this page Oct 4, 2018 · 1 revision

The configuration of the project can be managed in two ways:

1. Editing config.js

The file /api/config/config.js holds basic configuration, such as database host and port. You can edit the string values to define your own default configuration.

2. Setting environment variables

Another way to specify the configuration of the project is to use a set of predefined environment variables. When the project is loaded, the default values in config.js are overwritten with the values of the corresponding environment variables in case they are set.

Clone this wiki locally