Opened 13 years ago

Closed 12 years ago

#270 closed enhancement (fixed)

Create shell scripts to ease launching of celeryd with a local .ini

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 ``./`` 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
``./ -c mediagoblin_local.ini``

Change History (5)

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, 12 years ago

The original url for this bug was .
#279: related

comment:3 by Christopher Allan Webber, 12 years ago

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

Marking this task as bitesized

comment:4 by Brett Smith, 12 years ago

Fixed in . I maybe made the task more than bitesized, but hopefully it's effort that will pay off. :)

comment:5 by Christopher Allan Webber, 12 years ago

Resolution: fixed
Status: acceptedclosed

Great work! I merged it! And nice work reducing redundancy in your solution :)

Note: See TracTickets for help on using tickets.