cenv-registry implements an api to manage cenv's environments.
- NODE_ENV
- default: 'development'
- PORT
- default: 3000
- HTTP_LOG_CONFIG
- default: 'dev'
- MONGO_DB
- default: mongodb://localhost:27017/cenv
Node.js 7.6.0 or higer is required
Download or clone cenv-registry latest release at https://github.com/rodrigogs/cenv-registry/releases
$ npm installor$ yarn install
Have a mongodb instance running
$ npm startor$ yarn start
-
Single instance
$ NODE_ENV=production node bin/www -
Cluster
$ NODE_ENV=production node bin/fork
Currently cenv-registry has only integration tests, so you need to have a running mongodb instance running to pass the tests
$ npm testor$ yarn test
Licence © Rodrigo Gomes da Silva