Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: c69b1ab0ef
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (19 sloc) 0.793 kB

PHPMongoTweet on OpenShift

This git repository helps you get up and running quickly w/ a PHP sample application that uses MongoDB on OpenShift

Running on OpenShift

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

Create a php-5.3 application

rhc app create -a phpmongotweet -t php-5.3

Add MongoDB support to your application

rhc app cartridge add -a phpmongotweet -c mongodb-2.0

Add this upstream phpmongotweet repo

cd phpmongotweet
git remote add upstream -m master git://github.com/openshift/phpmongotweet-example.git
git pull -s recursive -X theirs upstream master

Then push the repo upstream

git push

That's it, you can now checkout your application at: http://phpmongotweet-$yourlogin.rhcloud.com

Jump to Line
Something went wrong with that request. Please try again.