Follow these steps to set up Personal Finance Tracker locally:
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
If you encounter an error related to the email configuration in settings.py
, you can comment out the following lines in mycode/settings.py
:
# Enter Email details here
EMAIL_HOST = config('EMAIL_HOST')
EMAIL_HOST_USER = config('EMAIL_HOST_USER')
EMAIL_USE_TLS = config('EMAIL_TLS', cast=bool)
EMAIL_FROM_EMAIL = config('EMAIL_FROM_EMAIL')
EMAIL_PORT = config('EMAIL_PORT')
EMAIL_HOST_PASSWORD = config('EMAIL_HOST_PASSWORD')
After commenting out these lines, you should be able to run the project without any issues related to email configuration.