
The test_user_dev (as opposed to user_dev) was a legacy before we had each application running in its own directory (as they now do in pytest). Move that name to just user_dev... this is more consistent with the rest of our naming and will make writing these config files easier. (If we want to test that changing these still works, that should be a separate unit test with special config files.) Additionally, add plugin static serving to the common test paste config file. This commit sponsored by Juan Jose Marin Martinez. Thank you!
41 lines
811 B
INI
41 lines
811 B
INI
[DEFAULT]
|
|
debug = true
|
|
|
|
[composite:main]
|
|
use = egg:Paste#urlmap
|
|
/ = mediagoblin
|
|
/mgoblin_media/ = publicstore_serve
|
|
/test_static/ = mediagoblin_static
|
|
/theme_static/ = theme_static
|
|
/plugin_static/ = plugin_static
|
|
|
|
[app:mediagoblin]
|
|
use = egg:mediagoblin#app
|
|
config = %(here)s/mediagoblin.ini
|
|
|
|
[app:publicstore_serve]
|
|
use = egg:Paste#static
|
|
document_root = %(here)s/user_dev/media/public
|
|
|
|
[app:mediagoblin_static]
|
|
use = egg:Paste#static
|
|
document_root = %(here)s/mediagoblin/static/
|
|
|
|
[app:theme_static]
|
|
use = egg:Paste#static
|
|
document_root = %(here)s/user_dev/theme_static/
|
|
cache_max_age = 86400
|
|
|
|
[app:plugin_static]
|
|
use = egg:Paste#static
|
|
document_root = %(here)s/user_dev/plugin_static/
|
|
cache_max_age = 86400
|
|
|
|
[celery]
|
|
CELERY_ALWAYS_EAGER = true
|
|
|
|
[server:main]
|
|
use = egg:Paste#http
|
|
host = 127.0.0.1
|
|
port = 6543
|