实现环境:
python3.7
windows to centos
步鄹一:先在centos上安装Django,uwsgi
步鄹二:在Django项目的setting文件中修改
DEBUG = True
ALLOWED_HOSTS = ['127.0.0.1','虚拟机的ip地址','localhost']
步鄹三:
实现环境:
python3.7
windows to centos
步鄹一:先在centos上安装Django,uwsgi
步鄹二:在Django项目的setting文件中修改
DEBUG = True
ALLOWED_HOSTS = ['127.0.0.1','虚拟机的ip地址','localhost']
步鄹三: