openshift-deployment

0.2.4 • Public • Published

OpenShift-Deployment

This tool allows it to deploy a given folder to OpenShift.

BuildStatus Test LastBuild CodeCoverageInJenkins

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: 'example@test.com', 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

Readme

Keywords

none

Package Sidebar

Install

npm i openshift-deployment

Weekly Downloads

1

Version

0.2.4

License

MIT

Last publish

Collaborators

  • tommapps