DJANGO与小程序-Django部署服务器

所需要的东西:
云服务器,自己搞定。
服务器系统:ubuntu14.(之前用的是win2008r2的,一直部署不了)
客户端:自己的电脑啦
客户端需要的软件:

  1. Filezilla.exe
  2. vs code
  3. 微信开发者工具
  4. mysql
  5. navicat

提前准备好文本准备进ubantu安装

1 cmd => ssh root@119.***.123.***

C:\Users\Administrator>ssh root@119.***.123.***
root@119.***.123.***'s password:
Welcome to Ubuntu 16.04.6 LTS (GNU/Linux 4.4.0-165-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

107 packages can be updated.
79 updates are security updates.

New release '18.04.4 LTS' available.
Run 'do-release-upgrade' to upgrade to it.



        Welcome to Huawei Cloud Service

出现欢迎说明真的进去了。
2 准备好代码:
首先的引入镜像文件:
(1)阿里云 http://mirrors.aliyun.com/pypi/simple/
(2)豆瓣http://pypi.douban.com/simple/
(3)清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/
(4)中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/
(5)华中科技大学http://pypi.hustunique.com/

pip install -i https://pypi.doubanio.com/simple/ django
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple django

就按我这样做,别问为什么!

pip install -i https://pypi.doubanio.com/simple/ 

需要安装的有,
python
django
djangorestframwork
pymysql
bs4
Crypto
requests
hashib
time
datetime
random
xmltodict
json
根据自己需求安装

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值