后端:直接把代码从gitee上拉去到本地目录 (https://gitee.com/y_project/RuoYi-Vue )
注意下redis连接时password改auth
后端启动成功
前端:运行前首先确保安装了node环境,随后执行:
!!一定要用管理员权限打开vscode 不然他不让我执行npm命令
# 安装依赖
npm install# 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
npm install --registry=https://registry.npmmirror.com# 启动服务
npm run dev