首页下载资源后端testApi1增加发送企业微信和邮件和定时任务功能

ZIPtestApi1增加发送企业微信和邮件和定时任务功能

w1366838257292.37KB需要积分:1

资源文件列表:

testApi1.zip 大约有36个文件
  1. __init__.py 2.4KB
  2. blueprints/
  3. blueprints/__init__.py 16B
  4. blueprints/__pycache__/
  5. blueprints/__pycache__/__init__.cpython-37.pyc 136B
  6. blueprints/__pycache__/admin.cpython-37.pyc 23.35KB
  7. blueprints/admin.py 43.98KB
  8. faker.py 1.64KB
  9. models.py 6.77KB
  10. nginx.conf 2.88KB
  11. run.py 152B
  12. scheduled_tasks.py 14.9KB
  13. settings.py 233B
  14. templates/
  15. templates/admin/
  16. templates/admin/apis.html 24.06KB
  17. templates/admin/apis_add.html 20.03KB
  18. templates/admin/apis_detail.html 16.55KB
  19. templates/admin/apis_edit.html 23.08KB
  20. templates/admin/groups.html 15.55KB
  21. templates/admin/groups_add.html 11.27KB
  22. templates/admin/groups_edit.html 12.2KB
  23. templates/admin/logs.html 21.14KB
  24. templates/admin/scheduleLogs.html 21.14KB
  25. templates/admin/scheduleds.html 20.53KB
  26. templates/admin/scheduleds_add.html 18.55KB
  27. templates/admin/scheduleds_detail.html 18.14KB
  28. templates/admin/scheduleds_edit.html 21.18KB
  29. templates/errors/
  30. templates/errors/400.html 139B
  31. templates/errors/404.html 139B
  32. templates/errors/500.html 139B
  33. utils.py 25.3KB
  34. uwsgi.ini 224B
  35. 测试数据.sql 2.54KB
  36. 部署文档.txt 1.88KB

资源介绍:

testApi1增加发送企业微信和邮件和定时任务功能
服务器地址:10.0.18.129 账号密码:yidi.pan PWd122717! 数据库地址:10.0.18.129 账号密码:root 123456 首先安装jdk 安装lrzsz: yum install lrzsz 使用rz/sz进行文件传输: 1、下载文件:先输入 sz filename,然后,在终端的空白区域点击鼠标右键(也可能是ctrl+鼠标右键),选择“Receive file using Z-modem”。此时,MobaXterm将开始从服务器下载文件。 2、上传文件:先输入 rz,然后在终端的空白区域点击鼠标右键(也可能是ctrl+鼠标右键),选择“Send file using Z-modem”。在弹出的文件选择对话框中,选择你想要上传的文件,然后点击“打开”或直接双击文件。等待上传过程完成。 上传python.tgz并安装: 前提:yum install libffi-devel 1、tar -zxvf Python-3.7.2.tgz 2、cd Python-3.7.2 3、./configure --prefix=/usr/local/python3.7 4、make 5、sudo make install 上传nginx-1.22.1.tar.gz并安装: 安装第三方库: 1、cd /usr/local/python3.7/bin 2、./pip install flask -i https://mirrors.hirain.com/repository/Pypi/simple/ pip install PyMySQL pip install SQLAlchemy pip install requests==2.24.0 pip install crontab pip install python-crontab 3、如果报错,安装依赖:yum install -y python3-devel mysql-devel gcc gcc-c++ kernel-devel python-devel libxslt-devel libffi-devel openssl-devel cryptography 4、如果还是报错,升级pip版本 安装uwsgi: 5、pip install uwsgi 6、上传uwsgi.ini的配置文件到项目目录 7、启动uwsgi: /usr/local/python3.7/bin/uwsgi --ini /home/wuxia/testApi1/uwsgi.ini 8、查看服务是否启动成功:ps -ef | grep uwsgi 9、在nginx.conf里配置转发: 先尝试手动启动项目: 10、mv run.py /home/wuxia #使run.py和testApi1文件夹平级 11、/usr/local/python3.7/bin/python3.7 run.py
100+评论
captcha