# Run PM2.5 Website on Windows ###### tags: `Django` - 步驟:下載專案 > 安裝 > 調整 code 位址設定 ### 下載 - [Customize-2DString-](https://github.com/Qouou/Customize-2DString-) - 如果要開發,記得開**分支** ### 安裝 - 安裝虛擬環境 (移動到有`requirement.txt`的資料夾) ```shell= pipenv install pipenv shell ``` - 用 `Pipfile` 安裝所需的套件 - image (PIL) ```shell= pip install -r requirements.txt ``` ### 修改設定檔 - 主機位址 ```python= ALLOWED_HOSTS = ['163.22.17.82'] # -> 127.0.0.1 ``` - python3 變成 python - 資料夾位置 ### 執行 ```shell= py manage.py runserver ```