Readme: Setup:
- You should have Enabled 2FA in our Gmail Account.
- You need to create Sign-in Password. (https://myaccount.google.com/apppasswords)
- Add 3 Environment Variables or edit in .env file: EMAIL_USERNAME=abc@gmail.com EMAIL_PASSWORD='sign-in-app-password' API_KEY='abcd'
- API_KEY represents Gemini API Key
Don't remove '' in the EMAIL_PASSWORD & API_KEY field.
Instructions:
- Make sure you have all dependencies install.
- Setup python 3.12
- Create virtual environment: python3 -m venv .venv
- Activate virtual environment: source .venv/bin/activate
- Install dependencies: pip install -r requirements.txt
- To start the server:
- cd EmailWhiz
- python manage.py migrate
- python manage.py runserver
- Open 127.0.0.1:8000 on your browser & enjoy.