3.django restframework 项目部署到ubuntu18.04上(安装uwsgi)
1.安装uwsgi到真实(非虚拟环境)环境下#退出虚拟环境deactivatecd..aptinstallpython3-pipyapt-getinstall-ypython3-devpip3installuwsgi2.使用uwsgi启动项目1.运行项目uwsgi--chdir/home/ubuntu/gg--home/home/ubuntu/env36--http:8000--modulegg.