- Clone this repository.
- Make sure you have redis installed in your system.
- Create a virtualenv and install the requirements.
- Open a terminal window and start a local Redis server.
- Open a second terminal window. Set two environment variables
MAIL_USERNAMEandMAIL_PASSWORDto a valid Gmail account credentials (these will be used to send test emails). Then start a Celery worker:venv/bin/celery worker -A app.celery --loglevel=info
(note: celery -A your_application.celery worker)
- Start the Flask application on your original terminal window:
venv/bin/python app.py. - Go to
http://localhost:5000/and see the magic 🧙♂️ ✨