rhc create-app <app name> https://raw.githubusercontent.com/connyay/openshift-iojs/master/metadata/manifest.yml
There is an example express application that uses this cartridge that can be found here: connyay/express-openshift-iojs.
Common pitfalls are:
- io.js (latest stable currently 3.3.0)
- npm (latest stable currently 2.13.3)
- grunt
- gulp
- forever
- bower
Not much.
- Installs io.js
- Installs grunt, gulp, bower, and forever globally (specified by
$OPENSHIFT_NPM_GLOBALS) - Allows the user to manually install required dependencies (in a
buildaction_hook). An example of this can be found here - Runs
npm startifpackage.jsonis found in repo directory (log is written to$OPENSHIFT_IOJS_LOG_DIR)
For now I just dropped the contents of the iojs-v3.3.0.tar.xz here. Once io.js stabalizes I will move to resolving the latest stable and downloading on the gear.
These repos helped out a ton while developing this cartridge.