This project is an email scheduler that allows you to schedule and send emails at a later time.
-
Clone the repository:
git clone https://github.com/your-username/email-scheduler.git
-
Navigate to the project directory:
cd email-scheduler
-
Create a virtual environment:
python -m venv venv cd venv
-
Activate the virtual environment:
-
For Windows:
.\Scripts\activate
-
For macOS/Linux:
source bin/activate
-
-
Install the required dependencies:
pip install -r requirements.txt
-
Set the required environment variables:
Replace
QSTASH_TOKEN
,DEPLOYED_URL
,SENDGRID_API_KEY
, andSENDGRID_SENDER_EMAIL_ADDRESS
with your own values.You can find the
SENDGRID_API_KEY
andSENDGRID_SENDER_EMAIL_ADDRESS
in your SendGrid account.You can find the
QSTASH_TOKEN
in your Upstash account.You can leave the
DEPLOYED_URL
blank and set it later when you deploy the application.
-
Run the application locally:
python manage.py runserver
-
Open your web browser and navigate to
http://localhost:8000/scheduler/schedule-email
. -
Follow the instructions on the web page to schedule and send emails.