[OH-Dev] manage.py is moving (to simplify Heroku support)
Asheesh Laroia
lists at asheesh.org
Fri Mar 2 15:13:45 UTC 2012
Hey all,
I just pushed a few commits that do the following:
* move manage.py into mysite/
* create a trivial wrapper manage.py that you can still run
that is not in mysite/ (to avoid breaking things)
* added a special case in settings.py to disable South if it
detects some environment variables that Heroku sets.
The upshot of this is that it should be easy to run your own
development instance of the OpenHatch code on heroku.com's easy,
free-of-cost Python web hosting.
As of now, I'd like to formally deprecate manage.py when it is run
outside of mysite/. By April 1, I'd like to remove that file.
So now, where you do:
git clone ...
cd oh-mainline
./manage.py runserver
you will now do:
git clone ...
cd oh-mainline
cd mysite
./manage.py runserver
Should not be too disruptive. We'll need to fix up the documentation,
the Jenkins auto-builder configuration, and some scripts on the deployment.
Help is extremely welcome for these changes! They should be fairly simple.
-- Asheesh.
More information about the Devel
mailing list