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 Version 3

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

Description (last modified by Christopher Allan Webber)

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 (3)

comment:1 by Christopher Allan Webber, 13 years ago

This is a pleasantly simple task that I'm happy to walk anyone
through on IRC. :)



comment:2 by Will Kahn-Greene, 13 years ago

The original url for this bug was http://bugs.foocorp.net/issues/609 .
Relations:
#279: related

comment:3 by Christopher Allan Webber, 13 years ago

Description: modified (diff)
Keywords: bitesized added
Milestone: 0.2.2
Priority: minormajor
Type: defectenhancement

Marking this task as bitesized

Note: See TracTickets for help on using tickets.