Skip to content

dove-cote/dovecote

Repository files navigation

dovecote

Installing

  • Clone
    git clone https://github.com/dashersw/dovecote.git
  • Install deps
    npm install
  • Add some test data
    npm run add-initial-data
    email: test@dove-cote.co, password: asdf123

Configuration

  • DOCKER_CERT_DIR
    In order to connect secure docker machines, you must set the environment variable DOCKER_CERT_DIR as your folder path of the credentials ca.pem, cert.pem, key.pem.
  • DOCKER_NODE_VERSION
    By default dovecote comes with node 4.2.2. You can set other versions by changing DOCKER_NODE_VERSION.

Development

Run npm start in root folder and npm start in frontend folder will start servers at http://localhost:3001 (main backend server) and http://localhost:3000 (webpack server) respectively.

Access through http://localhost:3000 and it will proxy requests to backend if it cannot serve itself.

Production

Generate the minified bundle using npm run fe_build. Then run npm run production_start

npm run fe_build
npm production_start

About

A PaaS solution for running serverless microservices in the cloud

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published