Skip to content

Node.js quickstart application to run the latest or any custom Node.js version on OpenShift

Notifications You must be signed in to change notification settings

aplcat/nodejs-custom-version-openshift

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running a custom/latest Node[.js] version on Red Hat's OpenShift PaaS

This git repository is a sample Node application along with the "orchestration" bits to help you run the latest or a custom version of Node on Red Hat's OpenShift PaaS.

Selecting a Node version to install/use

To select the version of Node.js that you want to run, just edit or add a version to the .openshift/markers/NODEJS_VERSION file.

Example: To install Node.js version 0.11.11, you can run:
   $ echo 0.11.11 >> .openshift/markers/NODEJS_VERSION

The action_hooks in this application will use that NODEJS_VERSION marker file to download and extract that Node version if it is available on nodejs.org and will automatically set the paths up to use the node/npm binaries from that install directory.

 See: .openshift/action_hooks/ for more details.

Note: The last non-blank line in the .openshift/markers/NODEJS_VERSION
      file.determines the version it will install.

Okay, now onto how can you get a custom Node.js version running on OpenShift.

About

Node.js quickstart application to run the latest or any custom Node.js version on OpenShift

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 51.7%
  • HTML 24.2%
  • JavaScript 24.1%