摘要: 安装 https://blog.csdn.net/a774630093/article/details/79270080 解决用远程连接mysql数据库出现1045 access denied for user 'root'@'localhost' using password yes https: 阅读全文
posted @ 2020-03-26 09:54 汪丛兴 阅读(113) 评论(0) 推荐(0) 编辑
摘要: npm install --global vue-cli vue init webpack 项目名称 vue项目打包在本地直接访问 1.打开项目文件夹。找到config文件夹里的index.js文件中的build对象,将assetsPublicPath中的“/”,改为“./”。 2.router文件 阅读全文
posted @ 2020-03-23 15:47 汪丛兴 阅读(533) 评论(0) 推荐(0) 编辑
摘要: 推荐使用yum安装 1. yum install epel-release 2. yum install -y supervisor 3. systemctl enable supervisord # 开机自启动 4. systemctl start supervisord # 启动supervis 阅读全文
posted @ 2020-03-18 21:10 汪丛兴 阅读(567) 评论(0) 推荐(0) 编辑
摘要: 安装Nginx 参考:https://docsxyz.com/wiki/nginx/install 步骤1: 安装相关组件 yum install -y openssl* yum -y install ncurses-devel yum -y install gcc-c++ yum -y insta 阅读全文
posted @ 2020-03-18 20:59 汪丛兴 阅读(1967) 评论(0) 推荐(1) 编辑
摘要: 官网:https://pypi.org/project/django-xhtml2pdf/ 1.新建django项目安装django-xhtml2pdf pip install django-xhtml2pdf 2.views.py from django_xhtml2pdf.utils impor 阅读全文
posted @ 2020-03-18 16:47 汪丛兴 阅读(661) 评论(0) 推荐(0) 编辑
摘要: 第一步 下载centos镜像 https://www.centos.org/download/ 第二步 安装vm https://www.vmware.com/products/workstation-pro/workstation-pro-evaluation.html 第三步 首页-->创建新的 阅读全文
posted @ 2020-03-13 09:15 汪丛兴 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 1.安装node http://nodejs.cn/download/ node --version npm --version 2.安装检测npm3.安装vue-cli npm install -g @vue/cli 4.安装webpacknpm install -g webpack 5.运行项目 阅读全文
posted @ 2020-03-11 17:39 汪丛兴 阅读(166) 评论(0) 推荐(0) 编辑
摘要: from django.test import TestCase # Create your tests here. import time import random import string import hashlib from django.core import serializers 阅读全文
posted @ 2020-03-10 16:34 汪丛兴 阅读(338) 评论(0) 推荐(0) 编辑
摘要: wechatpy 设置代理访问微信接口 实例代码 corpid = config.weChatConfig["corpid"] secret = config.weChatConfig["secret"] qyclient = WeChatClient(corpid, secret) domain 阅读全文
posted @ 2020-02-27 14:27 汪丛兴 阅读(429) 评论(0) 推荐(0) 编辑
摘要: 已有环境 CentOS 7 Python 3.7 Django 2.1 主要用到下面三个命令: # 导出依赖 pip freeze > requirements.txt # 按照依赖下载离线包 pip download -d packagesDir -r requirements.txt # 安装离 阅读全文
posted @ 2020-02-25 17:45 汪丛兴 阅读(1585) 评论(0) 推荐(0) 编辑