continuous-deployment-modulus

Express middleware for enabling continuous deployment from github on modulus.io

npm install continuous-deployment-modulus
20 downloads in the last week
30 downloads in the last month

continuous-deployment-modulus NPM version

Express middleware for enabling continuous deployment from github on modulus.io

Getting Started

npm install continuous-deployment-modulus --save

Add to your express application before routing...

var cd = require('continuous-deployment-modulus');
app.configure(function() {
  app.use('/deploy', cd());
});

Set up your environment variables in your modulus project...

TODO:

Environment Variables

MODULUS_PROJECT

  • The name of your modulus project that will get deployed

MODULUS_USER

  • The username you use when logging into modulus. If you use a github login, then this is your github username

MODULUS_PWD

  • The password you use when logging into modulus. If you use a github login, then this is your github password

USE_GITHUB

  • If you use a github login, set this to true

GITHUB_TOKEN

  • This is the personal github token you need to create to give the middleware access to pull from your repo. TODO - add instructions on setting this up.
npm loves you