偌依使用———项目搭建

type
status
date
slug
summary
tags
category
icon
password
类别
内容

RuoYi-Vue使用环境

💡
环境配置如下
notion image
提供以下资源地址
JDK 11:
链接:https://pan.baidu.com/s/1SBWpbBL9z3aA8esJJT5G6Q 提取码:8vp4 Mysql 8:
链接:https://pan.baidu.com/s/180aNf2jg-pZFPHO-QAU_qA 提取码:00s2 Redis:
链接:https://pan.baidu.com/s/1fDf9rikIppX2youBCTZPQQ 提取码:v8tf Maven 3.6:
Node JS 16:

后端项目导入搭建

Git克隆并初始化项目

  1. 找到RuoYi-Vue官方仓库地址,复制仓库链接
notion image
notion image
  1. 使用Idea导入项目
notion image
notion image
项目初始化之后效果如上,注意字体为粗体
💡
注意: 如果项目初始化未成功,可以尝试使用Maven,先clean,后package即可
notion image
  1. 修改Maven仓库为本地仓库
notion image

Mysql文件导入与连接

  1. 创建数据库:ry_vue,使用Navicate或DataGrim执行Mysql文件
notion image
执行完成之后:效果如下
notion image
  1. 项目连接数据库
notion image

启动Redis

  1. 若没有Redis,则进行安装
  1. 启动Redis
notion image
  1. 如果Redis配置了密码,则需要在项目中添加Redis密码配置
notion image

启动项目

notion image

前台环境搭建

使用git命令,克隆码云仓库代码

在所要导入的文件位置进入cmd,输入以下命令
notion image
notion image

安装依赖

使用idea打开项目,然后在终端输入命令:
下载完依赖包之后,效果如下:
notion image

启动前端工程

  1. 在Idea中运行Vue项目,添加一个运行配置即可
notion image
notion image
之后和Java项目同样启动即可,启动效果如下。
notion image
 
centos7中docker的Mysql如何备份数第一章——计算机网络体系结构