Opened 11 years ago
Closed 11 years ago
#910 closed defect (fixed)
./bin/gmg assetlink and mediagoblin default setup
Reported by: | Boris Bobrov | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | infrastructure | Keywords: | |
Cc: | Parent Tickets: |
Description
GMG ships with mediagoblin.ini with enabled "mediagoblin.plugins.basic_auth" plugin. But this plugin has a directory with static files, that needs to be linked with "./bin/gmg assetlink". Neither setup.py does it, nor it is suggested in the docs.
Also, ./bin/gmg assetlink seems to be not documentated well, and http://mediagoblin.readthedocs.org/en/latest/siteadmin/plugins.html misses it.
Hm, seems you're right. Docs should definitely be updated. I wonder if we need to make this part of the general install/update commands? That's starting to get to be a fairly long command... but yup, we should do it probably.
My original thought was that plugins which are "on by default" should put their static stuff in the main mediagoblin/static/ directory, thus you only need to run assetlink if you're turning on non-default plugins. I'm not sure that's the best idea for consistency, though it could reduce running that command to only when installing plugins.