Running The Example
You can run this example as node processes on your localhost, as pods on a local minishift installation.
To run the basic application on your local machine, just run the commands bellow:
$ npm install $ npm start
If you want debug information, you can set
DEBUG environment variable and start the application:
$ DEBUG=* npm start
This will launch the application on port 8080.
Minishift should be started, and you should be logged in with a currently
active project. Then run the
npm run openshift command.
$ minishift start # You may have some options here, e.g. --memory=8096 --vm-driver=virtualbox $ oc login -u developer # Login $ oc new-project my-example-project # Create a project to deploy to $ npm run openshift # Deploys the example app