venv.sh #!/bin/bash function usage() { cat EOF Desc: virtualenv management tool Usage: linux command alias venv Options: [-h|--help] : show this help [run]
項目工程目錄如下: 第一步,測試runserver cd django3demo1/mysite python manage.py runserver 0.0.0.0:8002 http://127.0.0.1:8002/polls/ 訪問正常 第二步, 配置uwsgi啓動 配置文件uwsgi.ini [uwsgi1] ini=:base uwsgi-socket=