webgme/webgme-cli

View on GitHub
src/res/config/README.md

Summary

Maintainability
Test Coverage
# WebGME Configuration Settings

On `npm start`, the webgme app will load `config.default.js` which will override the configuration [defaults](https://github.com/webgme/webgme/tree/master/config).

If `NODE_ENV` is set, it will first try to load the configuration settings from `config/config.ENV.js` where `ENV` is the value of `NODE_ENV`. For example,

```
NODE_ENV=debug npm start
```

will load the configuration settings from `config/config.debug.js` if it exists and fallback to `config/config.default.js` otherwise