Software Engineering Project To use this portal, follow these steps:
- Make a
.env
file having same structure as.env.sample
- Get your G_KEY and G_SKEY by creating a project on Google Dev Console
- Add you client key to G_KEY and client secret key to G_SKEY.
- Fill up the following entries in .env
EMAIL_HOST=smtp.gmail.com
EMAIL_PORT=587
EMAIL_HOST_USER=YourEmail
EMAIL_HOST_PASSWORD=YourPassword
-
You have to enable access by insecure apps in your respective email serivce provider.
-
Install requirements:
pip install -r requirements.txt
- Makemigrations and migrate the Database to populate the table
python manage.py makemigrations && python manage.py migrate
- Create superuser
python manage.py createsuperuser
- Run server
python manage.py runserver