Opened 14 years ago
Closed 14 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 )
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 (5)
comment:2 by , 14 years ago
The original url for this bug was http://bugs.foocorp.net/issues/609 .
Relations:
#279: related
comment:3 by , 14 years ago
| Description: | modified (diff) |
|---|---|
| Keywords: | bitesized added |
| Milestone: | → 0.2.2 |
| Priority: | minor → major |
| Type: | defect → enhancement |
Marking this task as bitesized
comment:4 by , 14 years ago
Fixed in https://gitorious.org/~bretts/mediagoblin/brettss-mediagoblin/commits/bug270-lazycelery-script . I maybe made the task more than bitesized, but hopefully it's effort that will pay off. :)
comment:5 by , 14 years ago
| Resolution: | → fixed |
|---|---|
| Status: | accepted → closed |
Great work! I merged it! And nice work reducing redundancy in your solution :)
