Skip to content
This repository

Demo application on OpenShift | A sample OpenShift application that loads tweets into MongoDB

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .openshift
Octocat-spinner-32 libs
Octocat-spinner-32 misc
Octocat-spinner-32 php
Octocat-spinner-32 .project
Octocat-spinner-32 README
Octocat-spinner-32 README.md
README.md

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 https://www.openshift.com

Create a php application with mongodb

rhc app create phpmongotweet php-5.3 mongodb-2

Add this upstream phpmongotweet repo

cd phpmongotweet
git remote add upstream -m master git://github.com/openshift-quickstart/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

Something went wrong with that request. Please try again.