Adding info to the docs about running dbupdate

Both adding info to run it when adding new media types, and adding
info that you might need to stop mediagoblin before you run these
commands.
This commit is contained in:
Christopher Allan Webber 2012-12-14 18:29:00 -06:00
parent 00da119ec3
commit 9d5cd0b924
2 changed files with 15 additions and 0 deletions

View File

@ -191,6 +191,12 @@ codebase, you should also run::
./bin/python setup.py develop --upgrade && ./bin/gmg dbupdate ./bin/python setup.py develop --upgrade && ./bin/gmg dbupdate
Note: If you are running an active site, depending on your server
configuration, you may need to stop it first or the dbupdate command
may hang (and it's certainly a good idea to restart it after the
update)
Deploy MediaGoblin Services Deploy MediaGoblin Services
--------------------------- ---------------------------

View File

@ -43,6 +43,15 @@ video media types, then the list would look like this::
media_types = mediagoblin.media_types.image, mediagoblin.media_types.video media_types = mediagoblin.media_types.image, mediagoblin.media_types.video
Note that after enabling new media types, you must run dbupdate like so::
./bin/gmg dbupdate
If you are running an active site, depending on your server
configuration, you may need to stop it first (and it's certainly a
good idea to restart it after the update).
How does MediaGoblin decide which media type to use for a file? How does MediaGoblin decide which media type to use for a file?
=============================================================== ===============================================================