Skip to content

nootr/k8s-celery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kubernetes Celery

This project is used to generate Docker images for my Kubernetes playground:

https://github.com/JorisHartog/k8s-playground

Development

To run this app locally, make sure you have a RabbitMQ instance ready:

vagrant up

Install dependencies:

python3 -m venv venv
source venv/bin/activate
pip install -r requirements

Start a Celery worker:

source venv/bin/activate
celery -A myapp.tasks worker --loglevel=INFO

Finally, start the Flask app:

source venv/bin/activate
./run_myapp.py