Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
有来技术
youlai-mall
提交
61febddb
Y
youlai-mall
项目概览
有来技术
/
youlai-mall
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Y
youlai-mall
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
61febddb
编写于
2月 16, 2022
作者:
郝
郝先瑞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
docs(README.md): 项目文档优化
上级
59eae372
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
15 addition
and
28 deletion
+15
-28
README.md
README.md
+15
-28
未找到文件。
README.md
浏览文件 @
61febddb
...
...
@@ -14,25 +14,25 @@
</a>
</p>
<p
align=
"center"
>
<strong>
在线预览:
</strong><a
target=
"_blank"
href=
"http://www.youlai.tech"
>
www.youlai.tech
</a>
<strong>
在线预览:
</strong><a
target=
"_blank"
href=
"http://www.youlai.tech"
>
www.youlai.tech
</a>
</p>
<p
align=
"center"
>
<strong>
开源地址:
</strong>
<a
target=
"_blank"
href=
'https://github.com/hxrui'
>
Github
</a>
|
<a
target=
"_blank"
href=
'https://gitee.com/haoxr'
>
Gitee
</a>
|
<a
target=
"_blank"
href=
'https://gitcode.net/youlai'
>
GitCode
</a>
<strong>
开源地址:
</strong>
<a
target=
"_blank"
href=
'https://github.com/hxrui'
>
Github
</a>
|
<a
target=
"_blank"
href=
'https://gitee.com/haoxr'
>
Gitee
</a>
|
<a
target=
"_blank"
href=
'https://gitcode.net/youlai'
>
GitCode
</a>
</p>
<p
align=
"center"
>
<strong>
博客主页:
</strong><a
target=
"_blank"
href=
"https://www.cnblogs.com/haoxianrui/"
>
https://www.cnblogs.com/haoxianrui
</a>
<strong>
博客主页:
</strong><a
target=
"_blank"
href=
"https://www.cnblogs.com/haoxianrui/"
>
https://www.cnblogs.com/haoxianrui
</a>
</p>
<p
align=
"center"
>
<strong>
开发者文档:
</strong><a
target=
"_blank"
href=
"http://youlaitech.gitee.io/youlai-mall"
>
http://youlaitech.gitee.io/youlai-mall
</a>
<strong>
开发者文档:
</strong><a
target=
"_blank"
href=
"http://youlaitech.gitee.io/youlai-mall"
>
http://youlaitech.gitee.io/youlai-mall
</a>
</p>
...
...
@@ -86,7 +86,7 @@
| 小程序/H5/移动端 |
[
mall-app
](
https://gitee.com/youlaiorg/mall-app
)
|
[
mall-app
](
https://github.com/youlaitech/mall-app
)
|
[
mall-app
](
https://gitcode.net/youlai/mall-app
)
|
##
🚣♂️
项目启动
##
🚤
项目启动
### 🗁 后端启动
...
...
@@ -106,20 +106,15 @@
2.
**服务启动**
-
`youlai-gateway`
模块的启动类 GatewayApplication 启动网关;
-
进入
`youlai-gateway`
模块的启动类 GatewayApplication 启动网关;
-
进入
`youlai-auth`
模块的启动类 AuthApplication 启动认证授权中心;
-
进入
`youlai-admin`
→
`admin-boot`
模块的启动类 AdminApplication 启动系统服务;
-
`youlai-auth`
模块的启动类 AuthApplication 启动认证中心;
-
`youlai-admin`
→
`admin-boot`
模块的启动类 AdminApplication 启动系统服务;
-
至此已完成基础服务的启动,商城服务按需启动,启动方式和
`youlai-admin`
一致;
-
访问接口文档地址测试
[
http://localhost:9999/doc.html
](
http://localhost:9999/doc.html
)
-
至此完成基础服务的启动,商城服务按需启动,启动方式和
`youlai-admin`
一致;
-
访问接口文档地址测试:
[
http://localhost:9999/doc.html
](
http://localhost:9999/doc.html
)
#### 2️⃣ 本地启动
...
...
@@ -129,7 +124,7 @@
> 为了避免数据和线上环境冲突,MySQL 和 Redis 必装,不安装可默认使用有来线上环境
- 🔴MySQL 安装
-
🔴MySQL 安装
-
🔴Redis 安装
-
⚪RabbitMQ
-
⚪Seata 安装
...
...
@@ -141,17 +136,14 @@
-
**系统数据库**
进入 `doc/sql` 目录 , 根据 MySQL 版本选择对应的脚本;
先执行 `database.sql` 完成数据库的创建;
再执行 `youlai.sql` 、`mall_*.sql` 完成数据表的创建和数据初始化。
-
**Nacos 数据库**
创建 Nacos 数据库,名为 `nacos`;
执行 `middleware/nacos/conf/nacos-mysql.sql` 脚本完成 Nacos 数据库初始化。
创建名为 `nacos` 的数据库,执行 `middleware/nacos/conf/nacos-mysql.sql` 脚本完成 Nacos 数据库初始化。
3.
**Nacos 配置和启动**
...
...
@@ -160,8 +152,6 @@
进入项目的 `middleware/nacos/conf/application.properties` 文件修改 Nacos 配置的数据连接,需要修改配置如下:
```properties
spring.datasource.platform=mysql
db.num=1
...
...
@@ -170,8 +160,6 @@
db.password.0=123456
```
2.
**启动Nacos**
IDEA 打开命令行终端 Terminal,输入 `cd middleware/nacos/bin` 切换到 Nacos 的 bin 目录,执行 `startup -m standalone` 启动 Nacos 服务。
...
...
@@ -180,7 +168,6 @@
打开浏览器,地址栏输入 Nacos 控制台的地址 [ http://localhost:8848/nacos]( http://localhost:8848/nacos) ;
输入用户名/密码:nacos/nacos ;
进入控制台,点击左侧菜单 `配置管理` → `配置列表` 进入列表页面,点击 `导入配置` 选择项目中的 `doc/nacos/DEFAULT_GROUP.zip` 文件 。
...
...
@@ -198,9 +185,9 @@
-
进入
`youlai-admin`
→
`admin-boot`
模块的启动类 AdminApplication 启动系统服务;
-
至此
已
完成基础服务的启动,商城服务按需启动,启动方式和
`youlai-admin`
一致;
-
至此完成基础服务的启动,商城服务按需启动,启动方式和
`youlai-admin`
一致;
-
访问接口文档地址测试
[
http://localhost:9999/doc.html
-
访问接口文档地址测试
:
[
http://localhost:9999/doc.html
](
http://localhost:9999/doc.html
)
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录