Skip to content

rodrigogs/cenv-registry

Repository files navigation

cenv-registry

Build Status Code Climate Test Coverage Dependency Status devDependency Status

cenv-registry implements an api to manage cenv's environments.

Environment variables

  • NODE_ENV
    • default: 'development'
  • PORT
    • default: 3000
  • HTTP_LOG_CONFIG
    • default: 'dev'
  • MONGO_DB
    • default: mongodb://localhost:27017/cenv

Setup

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 install or $ yarn install

Development

Have a mongodb instance running

$ npm start or $ yarn start

Production

  • Single instance

    $ NODE_ENV=production node bin/www

  • Cluster

    $ NODE_ENV=production node bin/fork

Test

Currently cenv-registry has only integration tests, so you need to have a running mongodb instance running to pass the tests $ npm test or $ yarn test

License

Licence © Rodrigo Gomes da Silva

About

Cloud environment registry

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors