continuous-deployment-modulus

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

continuous-deployment-modulus

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

npm install continuous-deployment-modulus --save

Add to your express application before routing...

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

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

TODO:

###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.