diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2012-12-14 18:29:00 -0600 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2012-12-14 18:29:00 -0600 |
commit | 9d5cd0b924fe790d27b4941c5d226fc7bde03741 (patch) | |
tree | 822b04289e04237f09643a3c19c253cf2b378348 /docs/source/siteadmin | |
parent | 00da119ec30742ec37df37022d7a15bfd4c3cf07 (diff) | |
download | mediagoblin-9d5cd0b924fe790d27b4941c5d226fc7bde03741.tar.lz mediagoblin-9d5cd0b924fe790d27b4941c5d226fc7bde03741.tar.xz mediagoblin-9d5cd0b924fe790d27b4941c5d226fc7bde03741.zip |
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.
Diffstat (limited to 'docs/source/siteadmin')
-rw-r--r-- | docs/source/siteadmin/deploying.rst | 6 | ||||
-rw-r--r-- | docs/source/siteadmin/media-types.rst | 9 |
2 files changed, 15 insertions, 0 deletions
diff --git a/docs/source/siteadmin/deploying.rst b/docs/source/siteadmin/deploying.rst index 0eb67be4..91406f96 100644 --- a/docs/source/siteadmin/deploying.rst +++ b/docs/source/siteadmin/deploying.rst @@ -191,6 +191,12 @@ codebase, you should also run:: ./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 --------------------------- diff --git a/docs/source/siteadmin/media-types.rst b/docs/source/siteadmin/media-types.rst index 5653217f..3b46c1b6 100644 --- a/docs/source/siteadmin/media-types.rst +++ b/docs/source/siteadmin/media-types.rst @@ -43,6 +43,15 @@ video media types, then the list would look like this:: 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? =============================================================== |