Skip to content

Commit

Permalink
add README.md and remove unnecessary template file
Browse files Browse the repository at this point in the history
  • Loading branch information
dblado committed Aug 11, 2011
1 parent 9e9bb4f commit f7b8fcf
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 4 deletions.
36 changes: 36 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
Djangom on OpenShift Express
============================

This git repository helps you get up and running quickly w/ a Django installation
on OpenShift Express. The Django project name used in this repo is 'openshift'
but you can feel free to change it. Right now the backend is sqlite3 and the
database runtime is @ $OPENSHIFT_DATA_DIR/sqlite3.db.

When you push this application up for the first time, the sqlite database is
copied from wsgi/openshift/sqlite3.db. This is the stock database that is created
when 'python manage.py syncdb' is run with only the admin app installed.


Running on OpenShift
----------------------------

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

Create a wsgi-3.2 application

rhc-create-app -a django -t wsgi-3.2

Add this upstream seambooking repo

cd django
git remote add upstream -m master git://github.com/openshift/django-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://django-$yourlogin.rhcloud.com

Empty file.
4 changes: 0 additions & 4 deletions wsgi/openshift/templates/copydb/index.html

This file was deleted.

0 comments on commit f7b8fcf

Please sign in to comment.