Skip to content

askin/celery-webpy-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Celery Web.py Examples

Installation

# Install RabbitMQ Server
sudo apt-get install rabbitmq-server

# Install Celery
sudo pip install celery

# Install webpy
sudo pip install web.py

Running

# Run Web.py web services
cd webpy
python services.py

# Run Celery
cd celery
celeryd -I tasks

# run example codes
cd client
python client.py

# play with tasks function
cd celery
python
>>> from tasks import remoteAdd
>>> result = remoteAdd.delay(2, 2)
>>> result.get()
4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages