Settings can now be taken from separate file with local override.

* Various settings in settings-nvr.js module
* settings-nvr-local.js can override settings-nvr.js
* settings-nvr-local is unchecked file
* Both files can be straight maps, or functions returning maps
* webpack env and args available to those functions
This commit is contained in:
Dolf Starreveld
2018-03-07 13:09:43 -08:00
parent 678fb54b21
commit 5727adf3df
12 changed files with 792 additions and 84 deletions

2
.gitignore vendored
View File

@@ -1,9 +1,11 @@
cameras.sql
.DS_Store
.project
.settings
*.swp
node_modules
prep.config
settings-nvr-local.js
target
ui-dist
yarn-error.log