node.js v4 cartridge for OpenShift
rhc create-app <app name> https://raw.githubusercontent.com/connyay/openshift-node4/master/metadata/manifest.yml
- node.js (latest LTS (v4 train) currently 4.3.1)
- npm (latest stable currently 2.14.12)
- grunt
- gulp
- forever
- bower
Not much.
- Installs node.js v4
- Installs grunt, gulp, bower, and forever globally (specified by
$OPENSHIFT_NPM_GLOBALS
) - Allows the user to manually install required dependencies (in a
build
action_hook). An example of this can be found here - Runs
npm start
ifpackage.json
is found in repo directory (log is written to$OPENSHIFT_NODE4_LOG_DIR
)
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.
These repos helped out a ton while developing this cartridge.