Opened 13 years ago

Last modified 13 years ago

#270 closed enhancement

Create shell scripts to ease launching of celeryd with a local .ini — at Initial Version

Reported by: joar Owned by:
Priority: major Milestone: 0.3.0
Component: programming Keywords: bitesized
Cc: Parent Tickets:

Description

Use case¶
=========

Chewbacca launches ``./lazyserver.sh`` with the arguments
``-c mediagoblin_local.ini`` to prevent merge conflicts while still
having local changes from the default .ini.

One day, Chewbacca wants to be able to run celery in a separate
process. First, out of confusion he runs celery with

::

    CELERY_CONFIG_MODULE=mediagoblin.init.celery.from_celery ./bin/celeryd

This seems to work, but all the images are broken. Chewbacca
doesn't realise that the problem is that his public\_store is not
the ordinary public\_store but cloudfiles.

Chewbacca has to type

::

    export MEDIAGOBLIN_CONFIG=mediagoblin_local.ini; export CELERY_CONFIG_MODULE=mediagoblin.init.celery.from_celery; ./bin/celeryd

Chewbacca wants to type
``./lazycelery.sh -c mediagoblin_local.ini``



Change History (0)

Note: See TracTickets for help on using tickets.