实现一个前后端分离的自动化用例查询展示系统:
1. 环境部署
部署maven:
你需要下载Maven的安装包。你可以在Maven官方网站上找到最新的稳定版本。下载地址为:Maven – Download Apache Maven
解压到任意目录 (ex: D:\task)
mvn -v 验证
配置setting.xml(镜像源) + pom.xml 网上都有
后端开发环境部署
注意以下几处:
nginx 部署:
在nginx.conf 中添加如下配置
server {
# 前台访问端口
listen 83;
server_name localhost;
location / {
root html/test/jdbc_conf;
index index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html/test;
}
location /my/service {
proxy_pass http://localhost:26182/my/service;
}
Q1: