Initial commit
This commit is contained in:
BIN
doc/新手环境搭建文档/img.png
Normal file
BIN
doc/新手环境搭建文档/img.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 31 KiB |
29
doc/新手环境搭建文档/环境搭建文档.md
Normal file
29
doc/新手环境搭建文档/环境搭建文档.md
Normal file
@@ -0,0 +1,29 @@
|
||||
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).国内镜像加速  图片所示 加速器链接 "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启动mysql,redis,rabbitmq
|
||||
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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user