A NodeJS application to use in OpenShift
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Nicolas Massé eff6422828 bump version 8 years ago
.s2i/bin Improve assemble script 9 years ago
doc Merge branch 'master' of github.com:nmasse-itix/OpenShift-Demo-NodeJS 8 years ago
setup See #1: update the pipeline to work with the NPM 2FA system (tokens) 8 years ago
tests chmod 9 years ago
views add random parameter on each request 9 years ago
.gitignore gitignore 9 years ago
.npmignore make sure s2i script do not arrive on NPM registry 9 years ago
Jenkinsfile See #1: update the pipeline to work with the NPM 2FA system (tokens) 8 years ago
LICENSE initial commit 9 years ago
README.md improve doc 9 years ago
package.json bump version 8 years ago
server.js improve look and feel 8 years ago

README.md

My OpenShift Demo written in NodeJS

This GitHub repository is my demo that exhibit the main features of OpenShift. Feel free to use it to spread the word.

Description

The demo is a simple application written in NodeJS that is lightweight. It features a colored square with an "Hello world from <pod_name>!" in it.

Using this, you can exhibit :

  • Self-Healing
  • Scaling
  • Source-to-Image
  • CI/CD with Blue/Green Deployment

Setup

To deploy the app and start playing with it, just use Source-to-Image :

oc new-app nodejs~https://github.com/nmasse-itix/OpenShift-Demo-NodeJS.git --strategy=source

To cleanup your environment, use :

oc delete all -l app=openshift-demo-nodejs

Then, once confident, you can setup a full CI/CD environment as described in the Installation Guide.

Demo Scenario

Once your environment is setup, you can have a look at the Demo Scenario.