This is an Income - Expense Tracker app, built using Django (Python) for Educational Purpose Only.
- Subscribe & Share my YouTube Channel - https://bit.ly/vijay-thapa-online-courses
- Add a Star 🌟 to this 👆 Repository
Create a '.env' file along with 'manage.py' files Then, add following configurations
export EMAIL_HOST_PASSWORD=your_email_password
export EMAIL_HOST_USER=your_email_address
export DEFAULT_FROM_EMAIL=your_email_address
export EMAIL_HOST=smtp.gmail.com
The above example is using gmail host, 'You might need to change based on your email-service'
Also on 'settings.py' file you need to add following settings at the bottom
EMAIL_HOST = os.environ.get('EMAIL_HOST')
EMAIL_HOST_USER = os.environ.get('EMAIL_HOST_USER')
EMAIL_USE_TLS = True
DEFAULT_FROM_EMAIL = os.environ.get('EMAIL_HOST_USER')
EMAIL_PORT = 587
EMAIL_HOST_PASSWORD = os.environ.get('EMAIL_HOST_PASSWORD')
And before starting server, use the following command
$ source .env
- Email - hi@vijaythapa.com
- LinkedIn - vijaythapa