/Django-Celery-FeedbackApp

A simple project to learn how Celery works based on tutorial from realpython.com

Primary LanguagePythonMIT LicenseMIT

Django-Celery-FeedbackApp

Django, Celery, Redis

A simple project based on tutorial from realpython.com

Main Idea - made feedbackForm work asynchronous and don't freeze while message is sending (we use delay for test)

image

Extra features:

  • Added Celery autoreload on changes based on Django Command:
python manage.py restartall

To start your app:

  1. Create and activate a virtual environment:
$ python -m venv venv
$ source venv/bin/activate
(venv) $
  1. Once your virtual environment is active, you can install Django:
(venv) $ python -m pip install django
  1. Running the migrations and starting the development server:
(venv) $ python manage.py migrate
(venv) $ python manage.py runserver

Install Celery:

(venv) $ python -m pip install celery

Install Redis:

brew install redis \ sudo apt install redis
python -m pip install redis