Opened 10 years ago

Closed 10 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.

Change History (2)

comment:1 by Christopher Allan Webber, 10 years ago

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.

comment:2 by Boris Bobrov, 10 years ago

Resolution: fixed
Status: newclosed

Fixed by 2b02f5f

Note: See TracTickets for help on using tickets.