Skip to content
This repository has been archived by the owner on Aug 30, 2020. It is now read-only.

Latest commit

 

History

History
36 lines (27 loc) · 1.66 KB

README.md

File metadata and controls

36 lines (27 loc) · 1.66 KB

io.js cartridge for OpenShift

io.js is still in beta stability. Please use this at your own risk!

Usage

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

What this cartridge provides out of the box

  1. io.js (latest stable currently 1.4.3)
  2. npm (latest stable currently 2.7.1)
  3. grunt
  4. bower

What this cartridge does out of the box

Not much.

  1. Installs io.js
  2. Installs grunt, 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_IOJS_LOG_DIR)

Note

For now I just dropped the contents of the iojs-v1.6.2-linux-x64.tar.xz here. Once io.js stabalizes I will move to resolving the latest stable and downloading on the gear.

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