部署python flask项目到云服务器(flask+mysql+uwsgi+nginx)
部署python flask项目到云服务器 这是我第一次写博客,写的不好请多多见谅。 操作环境是ubuntu16.04,使用xshell和xftp工具,记得进入root用户,如果没有需要设置,怎么设置后面更新。 Python 3.5.2(自带的,需要设置python为默认的python版本)然后安装pip(sudo apt-get install python-pip) sudo update-alternatives –install /usr/bin/python python /usr/bin/python2.7 1 sudo update-alternatives –install /
下载地址
用户评论