建置「河洛話」工具網站,用以滿足以下應用需求:
- 查詢漢字的彙集雅俗通十五音標音
- 查詢反切的台羅音標
- 收集漢字在河洛話之標準用字
- Django Templates : 《Project》/Templates/
- 靜態檔案: 《Project》/static/
$ cd ~/workspace/Ho-Lok-Ue/
$ git clone [email protected]:AlanJui/ho-lok-ue-tools.git
$ cd ho-lok-ue-tools
$ ls -al
total 16
drwxr-xr-x 8 alanjui staff 256 2 19 14:23 .
drwxr-xr-x 42 alanjui staff 1344 2 19 14:19 ..
-rw-r--r-- 1 alanjui staff 7 2 19 14:22 .python-version
drwxr-xr-x 6 alanjui staff 192 2 19 14:23 .venv
-rw-r--r-- 1 alanjui staff 0 2 19 14:19 README.md
drwxr-xr-x 3 alanjui staff 96 2 19 14:19 ex_2023_02
-rw-r--r-- 1 alanjui staff 308 2 19 14:19 pyproject.toml
drwxr-xr-x 3 alanjui staff 96 2 19 14:19 tests
$ cat .python-version
3.10.6
$ pyenv install 3.10.6 # 安裝專案所需使用 Python 直譯器
$ pyenv versions
$ pyenv local 3.10.6
$ pyenv version
$ python --version
Python 3.10.6
$ python -m venv .venv
$ ls -al .venv
$ poetry shell
$ poetry install
$ ls .venv/lib/python3.10/site-packages/
❯ python manage.py runserver
Watching for file changes with StatReloader
Performing system checks...
System check identified no issues (0 silenced).
February 19, 2023 - 06:39:15
Django version 4.1.7, using settings 'web_app.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
yarn add bootstrap
yarn global add bootstrap
la ~/.config/yarn/global/node_modules/bootstrap/