進入到虛擬機之後
- su root
- curl -sSL https://install.python-poetry.org | python3 -
- expot PATH="${PATH}:${HOME}/.local/bin"
- poetry config virtualenvs.create false
檢查設定是否成功 poetry config --list
- poetry install
- python manage.py runserver
創建school-admin的group,把管理者的帳號加上school-admin的group