diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-06-18 17:59:38 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-06-18 17:59:38 -0500 |
commit | 3f5cf663c0c8c2c06c9185af82b5f75423fce7f3 (patch) | |
tree | fc2c15af72ad72a8b1afc5d4af1711317525d36c /mediagoblin/util.py | |
parent | d5234024b03f9187c3ad52afdb55af5422a1a5d0 (diff) | |
download | mediagoblin-3f5cf663c0c8c2c06c9185af82b5f75423fce7f3.tar.lz mediagoblin-3f5cf663c0c8c2c06c9185af82b5f75423fce7f3.tar.xz mediagoblin-3f5cf663c0c8c2c06c9185af82b5f75423fce7f3.zip |
Move entire app structure over to using the new config system.
This is a huge change! This means several things.
- From the python point of view, launching the application is a heck
of a lot cleaner. You just need to pass in the config file path to
MediaGoblinApp's __init__() and whether or not this funtion should
setup celery and you're good.
- There are now two separate config files, separating the server
setup from the application setup.
- server.ini: the paste deploy config file, which configures the
applications and server setup but *NOT* the mediagoblin application
itself.
- mediagoblin.ini: where you configure mediagoblin (and possibly celery)
- Launching the application is now different. Instead of:
./bin/paster serve mediagoblin.ini --reload
We launch like:
./bin/paster serve server.ini --reload
Diffstat (limited to 'mediagoblin/util.py')
0 files changed, 0 insertions, 0 deletions