Commit Graph

6 Commits

Author SHA1 Message Date
David Cheung 1121721afe Globalization for Loopback-boot 2016-08-05 14:31:48 -04:00
Krishna Raman 311b892a0f Support for multiple apps in browserified bundle. 2015-03-19 09:57:32 -07:00
Berkeley Martinez d8bf8687a8 Save instructions.json in root dir
Saving in node_modules dir causes complaints and missing files
fixes https://github.com/strongloop/loopback-boot/issues/94
2015-02-19 13:38:13 -08:00
Miroslav Bajtoš abda37fee9 gitignore: add Idea's *.iml files 2014-10-08 17:15:30 +02:00
Miroslav Bajtoš c1743dc2ff Load datasources and app cfg from multiple files
Modify loading of `appConfig` and `dataSourceConfig` to look for
the following files:

  - app.json
  - app.local.{js|json}
  - app.{$env}.{js|json}

  - datasources.json
  - datasources.local.{js|json}
  - datasources.{$env}.{js|json}

where $env is the value of `app.get('env')`, which usually defaults
to `process.env.NODE_ENV`.

The values in the additional files are applied to the config object,
overwritting any existing values. The new values must be value types
like String or Number; Object and Array are not supported.

Additional datasource config files cannot define new datasources,
only modify existing ones.

The commit includes refactoring of the config-loading code into
a standalone file.
2014-05-27 14:08:58 +02:00
Miroslav Bajtoš cda7eec295 Initial commit 2014-05-23 15:51:20 +02:00