diff options
author | Ben Sturmfels <ben@sturm.com.au> | 2021-09-17 21:39:48 +1000 |
---|---|---|
committer | Ben Sturmfels <ben@sturm.com.au> | 2021-09-17 21:42:44 +1000 |
commit | af09b7639218df0c559f9eb10c25b2816e0e84fb (patch) | |
tree | 03fc8348dad7e4e2b90a39117fa0717da74336a3 /mediagoblin/gmg_commands/__init__.py | |
parent | ef29477b4d7c386ce150fc677443c388ef05e173 (diff) | |
download | mediagoblin-af09b7639218df0c559f9eb10c25b2816e0e84fb.tar.lz mediagoblin-af09b7639218df0c559f9eb10c25b2816e0e84fb.tar.xz mediagoblin-af09b7639218df0c559f9eb10c25b2816e0e84fb.zip |
Implement `gmg serve` and `gmg celery`.
There was an existing stub for `gmg serve`, but had never been completed.
This will make it simpler to run the MediaGoblin web interface and media
processing backend.
Diffstat (limited to 'mediagoblin/gmg_commands/__init__.py')
-rw-r--r-- | mediagoblin/gmg_commands/__init__.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mediagoblin/gmg_commands/__init__.py b/mediagoblin/gmg_commands/__init__.py index 47ebd0c9..475b3288 100644 --- a/mediagoblin/gmg_commands/__init__.py +++ b/mediagoblin/gmg_commands/__init__.py @@ -70,6 +70,10 @@ SUBCOMMAND_MAP = { 'setup': 'mediagoblin.gmg_commands.serve:parser_setup', 'func': 'mediagoblin.gmg_commands.serve:serve', 'help': 'PasteScript replacement'}, + 'celery': { + 'setup': 'mediagoblin.gmg_commands.celery:parser_setup', + 'func': 'mediagoblin.gmg_commands.celery:celery', + 'help': 'Run the celery media processing backend'}, 'batchaddmedia': { 'setup': 'mediagoblin.gmg_commands.batchaddmedia:parser_setup', 'func': 'mediagoblin.gmg_commands.batchaddmedia:batchaddmedia', |