Skip to content

Instantly share code, notes, and snippets.

@bruckhaus
Created January 11, 2015 18:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bruckhaus/40b837a7fe0a268d9a73 to your computer and use it in GitHub Desktop.
Save bruckhaus/40b837a7fe0a268d9a73 to your computer and use it in GitHub Desktop.
//Create App
rhc app create a myappname -t python-2.6
//Add MongoDB NoSQL Database
rhc app cartridge add -a myappname -c add-mongodb-2.0
//Add Upstream Repo
cd myappname
git remote add upstream -m master git://github.com/openshift/openshift-twt-mongo-demo.git
git pull -s recursive -X theirs upstream master
//Push Repo
git push
//Enjoy!
http://myappname-$yourlogin.rhcloud.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment