-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add README.md and remove unnecessary template file
- Loading branch information
Showing
3 changed files
with
36 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file was deleted.
Oops, something went wrong.