@author: Luong Nguyen, Dat Dinh, Mung Vu
@release: 20/01/2022 (v1)
@license: MIT license
- Install Conda: phoenixNAP
- Create environment
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'
}
}
cd calendar_manager
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver