Work towards getting plugin static linking/serving to work

- add link_plugin_assets.  For now, incorrectly running from
   ./bin/gmg theme assetlink... uh, will fix ;)
 - Update paste and config_spec.ini configs to handle the locations
   and serving of the plugins' static resources

This commit sponsored by Marko Dimjašević.  Thank you!
This commit is contained in:
Christopher Allan Webber
2013-05-21 16:07:18 -05:00
parent d6d2c771bd
commit 5ccb16ca20
4 changed files with 73 additions and 8 deletions

View File

@@ -56,6 +56,11 @@ 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
[filter:errors]
use = egg:mediagoblin#errors
debug = false