Create a Virtual env on Windows.
python -m venv myenv
then activate
myenv\Scripts\activate
then install dependencies
pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib
then create your OAuth2 credentials
Run using python .\quickstart.py
Ensure you have your credentials setup on google cloud. Make sure your credentials have the following scopes:
These scopes are defined as well inside views.py. These are essential to allow the app to read Gmail and read details using the openid api.
Navigate into EmailSummarizer folder and run python manage.py runserver
In a second terminal, navigate into frontend folder and run npm run dev
Head to http://localhost:8000/login