virtualenvs .venv
source .venv/bin/activate
.ignoregit文件 添加
.vscode/
.idea/
logs/
.DS_Store
pip install mysqlclient 安装mysql数据库
pip install requests 短信开发
pip install gunicorn 线上部署
pip install celery 异步
pip install meinheld 高性能异步
pip install ipython 开发调试
pip freeze > requirments.txt 导出依赖包
django-admin startproject swiper ./(在当前层次创建django项目)
git add ./
git commit -m ‘first approval’
manage.py startapp user
manage.py makemigrations
manage.py migrate
阿⾥云: https://www.aliyun.com/product/sms
腾讯云: https://cloud.tencent.com/document/product/382
云之讯: https://www.ucpaas.com/ (新⽤户免费180条)
互亿⽆线: http://www.ihuyi.com/
赛迪云通信: https://www.mysubmail.com/sms (新⽤户免费 50 条)