openshift-deployment
v0.2.4
Published
This tool allows it to deploy a given folder to OpenShift.
Downloads
2
Readme
OpenShift-Deployment
This tool allows it to deploy a given folder to OpenShift.
Installation
npm install openshift-deployment
Usage
You will only need to do the following:
Create a new OpenShift application under a specific domain. This can be done on the OpenShift website or by using the tool rhc. That's it. Now you are ready to use the deploy function. SSH key management will be done automatically for you. This tool generates a new SSH key on npm install.
var openshift = require('openshift');
openshift.deploy({user: '[email protected]', pass: 'pass'}, 'myDomain', 'myApp', sourcePath).then(function(){
//done
});
If the deployment was successful this function resolves.
Release Notes 0.2
The dependency to nodegit was removed, because its compiler requirements were too high to install it in the OpenShift Node.js 0.10 Cartridge.
License
MIT