Home

Awesome

Deploy Hadron on OpenShift PaaS

With this seed project you will be able to get your Hadron blog up and running on the OpenShift PaaS (...and for free BTW).

$ rhc domain create <yournamespace>
$ rhc app create -a hadron -t nodejs-0.10
$ cd hadron
$ rm -rf ./node_modules server.js index.html deplist.txt
$ git remote add hadron-seed -m master https://github.com/hadronjs/hadron-seed.git
$ git pull -s recursive -X theirs hadron-seed master
$ git remote add hadron-openshift -m master https://github.com/hadronjs/hadron-openshift-seed.git
$ git pull -s recursive -X theirs hadron-openshift master
$ npm install --production
$ git add -A
$ git commit -m "Deploying initial version"
$ git push