Created
January 11, 2015 18:02
-
-
Save bruckhaus/40b837a7fe0a268d9a73 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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