Files
roll-room/doc/新手环境搭建文档/环境搭建文档.md
2026-04-23 16:58:11 +08:00

30 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

1.本地安装jdk21
配置jdk环境变量idea官网下载版本2024.3.3 破解版 ——》 https://docs.qq.com/doc/DWkdRQVZRV0RoZHdh
2.本地安装maven3.6.1
配置settings.xml文件
1). 复制<localRepository>标签粘贴到注释的外面55行左右
<localRepository>D:\software\apache-maven-3.6.1\local_repo</localRepository> //自己的maven安装路径
2. 打开settings.xml文件定位到160行左右
2). 在<mirrors>标签下为其添加子标签<mirror>,内容如下:
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
3.配置Maven环境变量MVN -V 查看是否配置成功
3.安装docker for windows
1).配置教程 https://developer.aliyun.com/article/1604556
2).国内镜像加速 ![img.png](img.png) 图片所示 加速器链接 "https://docker.1ms.run"
4.下载git 拉取代码
1).创建文件夹存放项目git init初始化使用git clone http://39.107.124.211:13000/cocos/ruoyi.git 拉取代码
2).账号密码是 cocos02 cocos02@163.com
3).在ruoyi项目docker目录下cmd使用命令docker compose up -d启动mysqlredisrabbitmq
4).导入sql文件
5.安装vs code
1).安装node.js 版本 node v22.22.0 npm版本 10.9.4 安装教程——》https://blog.csdn.net/Natsuago/article/details/145567734
2).npm run dev