Skip to content

ToMMApps/openshift-deployment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Deploy a given folder to OpenShift

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published