cyywl_server/README.md

15 lines
501 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

##后端部署
项目打包mvn clean package -Dmaven.test.skip=true
部署文件项目根目录yudao-server/target/yudao-server.jar
在 Linux 服务器上创建 /work/projects/yudao-server 目录,将 yudao-server.jar 上传到该目录下
执行项目根目录下 sh deploy.sh 命令,启动后端项目。
##前端部署
修改前端访问后端地址
在 yudao-ui-admin 目录下,执行 npm run build:prod 命令,编译前端项目
将打包的dist文件内容放nginx服务访问