Skip to content

About

The purpose of this app is to demonstrate a solution for managing concurrent Celery tasks via the celery-progress package.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

The purpose of this app is to demonstrate a solution for managing concurrent Celery tasks via the celery-progress package.

Click this screenshot for a video demo. Click to view on Youtube

Architecture

Architecture Diagram

Getting Started

  1. Generate an API key at api.nasa.gov and add it to this app's tasks.py file

  2. Start RabbitMQ and Redis on Docker

docker run -d -p 5672:5672 rabbitmq
docker run -d -p 6379:6379 redis
  1. From within this repo's root directory, run the following commands in order to install this project's dependencies in a virtual environment and run a Django web server:
python3 -m venv myvenv
source myvenv/bin/activate
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements.txt
python3 manage.py runserver
  1. Open a second terminal window and run the following:
source myvenv/bin/activate
python3 -m celery -A demo_project worker -l info --concurrency=8

About

The purpose of this app is to demonstrate a solution for managing concurrent Celery tasks via the celery-progress package.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages