- Clone the repository using
git clone https://github.com/shalearkane/DailyReview/
- Enter the Daily Review directory andcCreate a virtual environment using
virtualenv .venv
command - Activate the virtualenv by
source .venv/bin/activate
and then install python dependencies usingpip install -r requirements.txt
- Create a
.env
file to get Google Authentication working - Run
python manage.py migrate
to setup your datatbase. - Run
python manage.py createsuperuser
to setup initial superuser to access the admin panel - Go to
http://127.0.0.1:8000/admin/socialaccount/socialapp/add/
and add- Provider
Google
- Name
GoogleAuth
- Client id
copy-from-.env-file
- Secret key
copy-from-.env-file
- Save it. Now your Google Auth will work.
- Provider