A basic pillarjs example repo - Learn more at https://pillarjs.github.io/
To deploy a clone of this application using the rhc command line tool:
rhc app create pillar nodejs-0.10 --from-code=https://github.com/ryanj/pillar-base.git
Or link to a web-based clone+deploy on OpenShift Online or on your own OpenShift cloud:
https://openshift.redhat.com/app/console/application_type/custom?cartridges%5B%5D=nodejs-0.10&initial_git_url=https%3A%2F%2Fgithub.com%2Fryanj%2pillar-base.git
You'll need the oc command line tool to install this project in a Docker-based OpenShift environment. The cli tool binary is available via the openshift/origin releases page.
Use vagrant or ansible to setup your own deployment of OpenShift, then use oc login to authenticate. These instructions assume that a basic nodejs builder image has already been made available in the openshift project by an admin.
Build and deploy the application from the command line using the oc command line tool, and a nodejs builder image:
oc new-app openshift/nodejs~https://github.com/ryanj/pillar-base
Install dependencies:
npm installStart a local server:
npm start