npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

continuous-deployment-modulus

0.0.9

@doowb

npmRepoSnykSocket
Downloads:5
$ npm install continuous-deployment-modulus
DailyWeeklyMonthlyYearly

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.