官方文档 1、初始化package.json文件 npm init -y 2、创建基本目录结构 3、配置webpack npm i -D webpack 4、创建并配置 webpack.config.js 文件 var path = require('path') module.exports = ...
分类:
Web程序 时间:
2021-07-05 19:01:56
阅读次数:
0
4. Git基本工作流程 Git工作区域 向仓库中添加文件流程 4. Git初始化及仓库创建和操作 基本信息设置 1. 设置用户名 git config --global user.name 'itcastphpgit1' 2. 设置用户名邮箱 git config --global user.em ...
分类:
其他好文 时间:
2021-07-05 19:01:11
阅读次数:
0
服务器环境为 Ubuntu18.04+python3.8+Django2.2.24+mysql5.7 这两天在阿里云租了个服务器,将Django项目部署上去,耗时一整天成功部署,记录期间遇到的问题与解决办法,供大家参考。 启动uwsgi时报错:ImportError: No module named ...
分类:
系统相关 时间:
2021-07-05 18:57:31
阅读次数:
0
CentOS7防火墙命令有变化: CentOS7: systemctl status firewalld.service 查看防火墙状态 systemctl stop firewalld.service 本次访问关闭防火墙 systemctl disable firewalld.service 从下 ...
分类:
其他好文 时间:
2021-07-05 18:49:21
阅读次数:
0
一、UML图 二、创建线程池 2.1、Executors工厂方法 在ThreadPoolExecutor类的文档注释中有这么一句话:An ExecutorService that executes each submitted task using one of possibly several p ...
分类:
编程语言 时间:
2021-07-05 18:34:44
阅读次数:
0
一、背景 为了实现全链路拓扑监控,期望一层Nginx(Openresty)具备和Ingress-Nginx-Controller一样的的Metrics监控指标。通过分析Ingress-Nginx-Controller的Metrics源码并将其抽离改造(可参考另一篇分析文档:Ingress-Nginx ...
分类:
其他好文 时间:
2021-07-05 17:36:58
阅读次数:
0
编写引导类注意要标明注解 @SpringBootApplication SpringApplication.run(BootWeb01Application.class, args); 再编写main方法的时候使用run方法 起步依赖spring-boot-starter-parent 父工程,主要 ...
分类:
编程语言 时间:
2021-07-05 17:08:07
阅读次数:
0
基础命令 #查看系统configgit config --system --list #查看当前用户(global)配置git config --global --list 当你安装Git后首先要做的事情是设置你的用户名称和e-mail地址。这是非常重要的,因为每次Git提交都会使用该信息。它被永远 ...
分类:
其他好文 时间:
2021-07-05 16:58:20
阅读次数:
0
页面1: index.html 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="UTF-8"> 5 <title>index</title> 6 </head> 7 <body> 8 <!--#include virtual="common/ ...
分类:
Web程序 时间:
2021-07-02 16:41:40
阅读次数:
0
1、打开防火墙 如果觉得打开防火墙危险,可以只允许node.js通过防火墙,方法如下: PS:我同事电脑的允许通过是这样的,可能是nodejs版本不同? 2、vue.config.js中配置 host:'0.0.0.0', port: 8080, disableHostCheck: true, ...
分类:
其他好文 时间:
2021-07-02 16:16:39
阅读次数:
0