Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Celery deployment tool

branch: master
README.rst

celerydeploy: Deployment tool for Celery

celerydeploy is a fabric script for deploying and managing Celery worker processes.

celerydeploy creates virtual environments on remote hosts, deploys task modules and manages celeryd worker processes with supervisord.

Usage

Before calling celerydeploy provide a deployment path and a list of target hosts. celerydeploy will try to find CELERY_DEPLOY_PATH variable in Celery configuration file. Target hosts can be provided with CELERY_DEPLOY_HOSTS variable or using --hosts command line option.

Setup Celery on localhost and example.com:

$ celerydeploy --hosts example.com,localhost worker.setup

Start, stop or restart workers:

$ celerydeploy worker.start

$ celerydeploy worker.stop

$ celerydeploy worker.restart

Update task modules and restart workers:

$ celerydeploy worker.deploy worker.restart

Get a list of possible commands:

$ celerydeploy --list

celerydeploy is a fabric script and can be embedded into other deployment scripts.

Installation

To install celerydeploy, simply:

$ pip install celerydeploy
Bitdeli badge
Something went wrong with that request. Please try again.