wshearn/openshift-origin-cartridge-nodejs — pull request #1 by engineersamuel (2013-10-17 20:22:46+00:00)
Title: Update to Node .10.20 and change to npm install --production

Changes include
* Upgrade the node/npm binaries to .10.20
* Changed the control to use npm install --production
* To test changed the manifest Source-Url to: https://github.com/engineersamuel/openshift-origin-cartridge-nodejs.git
* Testing this out to verify successful changes included:
`rhc create-app nodejstest "http://cartreflect-claytondev.rhcloud.com/reflect?github=engineersamuel/openshift-origin-cartridge-nodejs"`
`rhc git-clone nodejstest`
* Accessing nodejstest worked fine with no errors. Added a devDependencies to verify they weren't installed, and verified that.

```
{
"name": "application-name",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node app.js"
},
"dependencies": {
"express": "*",
"jade": "*"
},
"devDependencies": {
"mocha": "~1.13.0",
"should": "~1.3.0",
"karma-chrome-launcher": "~0.1.0",
"karma-firefox-launcher": "~0.1.0",
"karma-script-launcher": "~0.1.0",
"karma-html2js-preprocessor": "~0.1.0",
"karma-jasmine": "~0.1.3",
"karma-requirejs": "~0.1.0",
"karma-coffee-preprocessor": "~0.1.0",
"karma-phantomjs-launcher": "~0.1.0",
"karma": "~0.10.2",
"grunt-cli": "~0.1.9",
"grunt": "~0.4.1",
"grunt-mocha-test": "~0.7.0",
"blanket": "~1.1.5"
}
}
```
* Executed a `git push` and verified that the devDependencies were in fact not installed which is what we want.