---
# System prepended metadata

title: IDH 預警系統
tags: [IDH_website]

---

---
title: IDH 預警系統
tags: IDH_website
---

# IDH 預警系統
## Environment
- python 3.10.6
- Django 4.1.2
```shell
$ pip install django
$ pip install django_extensions
$ python manage.py runserver 0.0.0.0:80
```
## 資料庫
### ER-model
![](https://i.imgur.com/RRgs1dp.png)

- 更改資料庫
    - 產生 SQL 語法 `python manage.py makemigrations`
    - 執行 SQL 檔 `python manage.py migrate`