Skip to content

A dockerized example showcasing the use of django and celery

Notifications You must be signed in to change notification settings

apenney/django-celery

 
 

Repository files navigation

Architecture

Architecture Diagram

This demo was created by @oisinBates to orginally showcase the celery_progress package.

Build

This project requires Python 3.8, and requirements are installed with pip.

Runtime for Django

You must first run migrations:

python3 manage.py migrate

Then:

python manage.py runserver 0.0.0.0:8000

Environment Variables

  1. Generate an API key at api.nasa.gov and add it to a .env file in the root directory as NASA_API_KEY (see .env.example).
  2. Generate a random value for the SECRET_KEY (django security)

Runtime for Celery

You can start this up with

celery -A demo_project worker -l info --concurrency=8

About

A dockerized example showcasing the use of django and celery

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 66.0%
  • HTML 32.0%
  • Dockerfile 1.6%
  • Shell 0.4%