Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ilmartyrk committed Aug 28, 2018
2 parents 76ad607 + 8494b92 commit e9cd8a5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,19 @@
```
* Create the DB structure - `npm run createdb` - this test should pass, if it does not or it hangs, you should consult the `./logs/app.log`

### Configuration

We use https://github.com/lorenwest/node-config.

Configuration files are in `./config` directory.

Order of applying, further down the list overrides value from the sources above it:

* `default.json` - Global configuration that is same for all environments.
* `{process.env.NODE_ENV}.json` - Environment specific overrides.
* `local.json` - Your local configuration that you create your self. This file is for YOUR SPECIFIC overrides, the file is in .gitignore so you don't accidentally commit it.
* ENV - configuration values defined in environment variables. What can be overwritten there, can be read from `custom-environment-variables.json`

### Running

* Start the app - `npm start`
Expand Down

0 comments on commit e9cd8a5

Please sign in to comment.