connyay / openshift-node4

node.js v4 cartridge for OpenShift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This project is no longer maintained. PRs will be accepted.

node.js v4 cartridge for OpenShift

Usage

rhc create-app <app name> https://raw.githubusercontent.com/connyay/openshift-node4/master/metadata/manifest.yml

What this cartridge provides out of the box

  1. node.js (latest LTS (v4 train) currently 4.3.1)
  2. npm (latest stable currently 2.14.12)
  3. grunt
  4. gulp
  5. forever
  6. bower

What this cartridge does out of the box

Not much.

  1. Installs node.js v4
  2. Installs grunt, gulp, bower, and forever globally (specified by $OPENSHIFT_NPM_GLOBALS)
  3. Allows the user to manually install required dependencies (in a build action_hook). An example of this can be found here
  4. Runs npm start if package.json is found in repo directory (log is written to $OPENSHIFT_NODE4_LOG_DIR)

Note

For now I just dropped the contents of the node-v4.3.1.tar.gz here. I will move to resolving the latest stable and downloading on the gear in the near future.

Thanks!

These repos helped out a ton while developing this cartridge.

  1. engineersamuel/openshift-origin-cartridge-nodejs
  2. wshearn/openshift-origin-cartridge-nodejs
  3. ramr/nodejs-custom-version-openshift
  4. heroku/heroku-buildpack-nodejs

About

node.js v4 cartridge for OpenShift

License:Apache License 2.0


Languages

Language:C 78.4%Language:C++ 18.9%Language:Groff 1.4%Language:Objective-C 1.1%Language:Shell 0.2%Language:JavaScript 0.0%Language:HTML 0.0%