Skip to content

greyhub/calendar_manager

Repository files navigation

Time Management System integrated Google Calendar

@author: Luong Nguyen, Dat Dinh, Mung Vu
@release: 20/01/2022 (v1)
@license: MIT license

Main Components

Setup

conda create -n tms python=3.6
conda activate tms
  • Install requirements
pip install -r requirements.txt
  • Change the default DATABASE in calendar_manager/setting.py
DATABASES = {
'default': {
    'ENGINE': 'django.db.backends.mysql',
    'NAME': 'calendar_manager',
    'USER':'root',
    'PASSWORD':'Database password',
    'HOST':'127.0.0.1',
    'PORT':'3306'
    }
}

How to Run

cd calendar_manager
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver

Generate token from Google Calendar

Google Calendar API in Python| How to Get Started

References

Django

Google OR-Tools

Google Cloud Platform - APIs