hsprabhakar / EmailSummarizer

2 stars 0 forks source link

EmailSummarizer

How to run demo

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

How to run the main app

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.

Run Backend:

Navigate into EmailSummarizer folder and run python manage.py runserver

Run Frontend:

In a second terminal, navigate into frontend folder and run npm run dev

Head to http://localhost:8000/login