Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
sample OpenShift Express app that loads tweets into MongoDB
JavaScript PHP CSS Shell
branch: master

This branch is 4 commits ahead, 16 commits behind openshift-quickstart:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.openshift
libs
misc
php
README
README.md
deplist.txt

README.md

PHPMongoTweet on OpenShift Express

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

Install with one click

Click to install OpenShift

Note: after app creation, need to add mongodb-2.2 cartridge, then restart app.

That's it, you can now checkout your application at:

http://phpmongotweet-$yourlogin.rhcloud.com

Manual install on OpenShift

Create a php-5.3 application

rhc app create -a phpmongotweet -t php-5.3 --from-code git://github.com/openshift/phpmongotweet-example.git

Add MongoDB support to your application

rhc cartridge add -a phpmongotweet mongodb-2.2

Then restart the application

rhc app restart phpmongotweet
Something went wrong with that request. Please try again.