Add the staticdirector stuff to the mediagoblin wsgi app.
[mediagoblin.git] / mediagoblin.ini
index 4d940e8062a08b9c012f25164940b0ac275b58e0..87f45ea60c8430663a26327cab2bc7d0e3d0f480 100644 (file)
@@ -5,6 +5,7 @@ debug = true
 use = egg:Paste#urlmap
 / = mediagoblin
 /mgoblin_media/ = publicstore_serve
+/mgoblin_static/ = mediagoblin_static
 
 [app:mediagoblin]
 use = egg:mediagoblin#app
@@ -12,6 +13,7 @@ filter-with = beaker
 queuestore_base_dir = %(here)s/user_dev/media/queue
 publicstore_base_dir = %(here)s/user_dev/media/public
 publicstore_base_url = /mgoblin_media/
+direct_remote_path = /mgoblin_static/
 ## Uncomment this to put some user-overriding templates here
 #local_templates = %(here)s/user_dev/templates/
 
@@ -19,6 +21,10 @@ publicstore_base_url = /mgoblin_media/
 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/
+
 [server:main]
 use = egg:Paste#http
 host = 127.0.0.1