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)
Extra features:
- Added Celery autoreload on changes based on Django Command:
python manage.py restartall
To start your app:
- Create and activate a virtual environment:
$ python -m venv venv
$ source venv/bin/activate
(venv) $
- Once your virtual environment is active, you can install Django:
(venv) $ python -m pip install django
- 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