Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

BookMarks Sample App on OpenShift

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .openshift
Octocat-spinner-32 data
Octocat-spinner-32 libs
Octocat-spinner-32 wsgi
Octocat-spinner-32 README
Octocat-spinner-32 README.md
Octocat-spinner-32 setup.py
README.md

Bookmarks App on OpenShift

This sample Bookmarks App shows how to deploy a typical Django App on OpenShift in a minute.

Before We Start

You need an account on OpenShift

You don't have an account yet? Sign-up and create your account for free : http://openshift.redhat.com

Some preparations

Then you need to install 'rhc' client tools following the quickstart on OpenShift website.

And create a namespace within your account via web console or client tools:

rhc domain create -n ${your_namespace} -l ${your_account}

Let's Rock

Create a python application:

rhc app create -a bookmarks -t python-2.6

Then we need mysql database for your app:

rhc app cartridge add -a bookmarks -c mysql-5.1

And let's add files in this repo into your Bookmarks app:

cd bookmarks
git remote add upstream -m master git://github.com/lulinqing/BookMarks-openshift-quickstart.git
git pull -s recursive -X theirs upstream master
git push

Enjoy your Bookmarks App at:

http://bookmarks-${your_namespace}.rhcloud.com
Something went wrong with that request. Please try again.