Node.js on OpenShift
JavaScript Shell
Switch branches/tags
Nothing to show
Pull request Compare This branch is 11 commits behind openshift-quickstart:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.openshift
node_modules
README
README.md
deplist.txt
index.html
npm_global_module_list
server.js

README.md

Node.js on OpenShift Express

This git repository helps you get up and running quickly w/ a node.js installation on OpenShift Express.

Running on OpenShift

Create an account at http://openshift.redhat.com/

Create a nodejs-0.6 application (you can call your application whatever you want)

rhc app create -a nodejs -t nodejs-0.6

Add this upstream repo

cd nodejs
git remote add upstream -m master git://github.com/openshift/nodejs-example.git
git pull -s recursive -X theirs upstream master
# note that the git pull above can be used later to pull updates

Then push the repo upstream

git push

That's it, you can now checkout your application at:

http://nodejs-$yournamespace.rhcloud.com