Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
60e734d4
Unverified
Commit
60e734d4
authored
Mar 11, 2020
by
danny
Committed by
GitHub
Mar 11, 2020
Browse files
docs: 统一图片路径和命名规则 (#359)
parent
e74f9ace
Changes
43
Hide whitespace changes
Inline
Side-by-side
doc/pic
1/1-8
.png
→
doc/pic
s/project/idea-maven-insatll
.png
View file @
60e734d4
File moved
doc/pic
1/1-9
.png
→
doc/pic
s/project/idea-run-all
.png
View file @
60e734d4
File moved
doc/pic
1/1-13
.png
→
doc/pic
s/project/maven-profile
.png
View file @
60e734d4
File moved
doc/pic
1/1-12
.png
→
doc/pic
s/project/online-deploy
.png
View file @
60e734d4
File moved
doc/pic
1/1-1
.png
→
doc/pic
s/project/project-structure
.png
View file @
60e734d4
File moved
doc/pic
1/1-4
.png
→
doc/pic
s/project/security-group
.png
View file @
60e734d4
File moved
doc/pic
1/1-14
.png
→
doc/pic
s/project/spring-profile
.png
View file @
60e734d4
File moved
doc/pic
1/1-10
.png
→
doc/pic
s/project/stage
.png
View file @
60e734d4
File moved
doc/pic
1/1-15
.png
→
doc/pic
s/project/yml-resource
.png
View file @
60e734d4
File moved
doc/pic
/4
.png
→
doc/pic
s/readme/admin-dashboard
.png
View file @
60e734d4
File moved
doc/pic/litemall_wx_demo.png
→
doc/pic
s/readme
/litemall_wx_demo.png
View file @
60e734d4
File moved
doc/pic/mobmall.png
→
doc/pic
s/readme
/mobmall.png
View file @
60e734d4
File moved
doc/pic
/1
.png
→
doc/pic
s/readme/project-structure
.png
View file @
60e734d4
File moved
doc/pic/qq2.png
→
doc/pic
s/readme
/qq2.png
View file @
60e734d4
File moved
doc/pic/renard_wx_demo.png
→
doc/pic
s/readme
/renard_wx_demo.png
View file @
60e734d4
File moved
doc/pic
/2
.png
→
doc/pic
s/readme/technology-stack
.png
View file @
60e734d4
File moved
doc/platform.md
View file @
60e734d4
...
...
@@ -183,7 +183,7 @@ litemall_region表保存了行政区域信息,包括省级、市级、县级
#### 2.1.4.1 订单状态


订单分成几种基本的状态:
...
...
@@ -587,7 +587,7 @@ litemall-db模块是一个普通的Spring Boot应用,基于mybatis框架实现
*
Mybatis Generator
*
Mybatis Generator非官方插件mybatis-generator-plugin


这里litemall-db模块可以分成以下几种代码:
...
...
@@ -610,7 +610,7 @@ mybatis数据库访问代码是指dao接口代码、dao数据库XML文件和doma
#### 2.2.1.1 自动生成代码


如上图所示,双击
`mybatis-generator:generate`
,则mybatis generator插件会:
...
...
doc/project.md
View file @
60e734d4
...
...
@@ -4,7 +4,7 @@
litemall是一个简单的商场系统,基于现有的开源项目,重新实现一个完整的前后端项目,包含小程序客户端、移动客户端和网页管理端。


项目的架构是四个系统和九个模块:
...
...
@@ -236,7 +236,7 @@ Spring Boot技术栈参考以下文档或者项目:
接下来,从项目的开发、部署(测试)和上线三个阶段介绍litemall。


首先需要明确的是三个不同阶段:
...
...
@@ -277,7 +277,7 @@ Spring Boot技术栈参考以下文档或者项目:
## 1.4 开发方案


如图所示,当前开发阶段的方案:
...
...
@@ -336,7 +336,7 @@ flush privilege
或者采用IDEA的Maven插件安装本项目依赖库,点击
`install`


7.
采用Maven命令编译本项目
...
...
@@ -363,7 +363,7 @@ flush privilege
如果采用IDEA,则litemall-all模块的Application类
右键
` Run Application.main()`
方式运行该模块,
!
[](
pic
1/1-9
.png
)
!
[](
./
pic
s/project/idea-run-all
.png
)
打开浏览器,输入
```
...
...
@@ -826,7 +826,7 @@ litemall:
主要流程是:创建云服务器,安装ubuntu操作系统,按照JDK和MySQL应用运行环境,部署单一Spring Boot服务。


#### 1.5.1.1 云服务器
...
...
@@ -841,7 +841,7 @@ litemall:
3. 创建安全组


目前允许的端口:8080,80,443,22,3306
...
...
@@ -1037,7 +1037,7 @@ cd litemall
* 提供管理后台前端所需要的数据;
* 提供小商城前端所需要的数据。


开发者可以基于自身业务采用其他上线方案。
...
...
@@ -1160,7 +1160,7 @@ http://www.example.com
总结,经过以上不同方面的配置,nginx这里最终的配置是如下:
1. 证书`1_www.example.com_bundle.crt`和`2_www.example.com.key`放置在
`/etc/nginx/`文件夹内。
2. 把`/etc/nginx/nginx.conf`文件进行修改,具体可以参考[本项目的nginx.conf](./
pic
/nginx.conf)
2. 把`/etc/nginx/nginx.conf`文件进行修改,具体可以参考[本项目的nginx.conf](./
conf
/nginx.conf)
3. 重启nginx
注意:
...
...
@@ -1423,9 +1423,9 @@ application配置文件中,但是问题就是数据库信息一旦改变则其
3. 上线阶段,同样地,在litemall.jar包同级目录创建上线配置文件。
此外,这里还可以采用另外一种思路,如下图:






其实原理也很简单,就是配置文件采用application-{module}-{profile}.yml来支持不同模块不同阶段的配置需求。
...
...
doc/
pic
/3.png
→
doc/
unused
/3.png
View file @
60e734d4
File moved
doc/
pic
/5.gif
→
doc/
unused
/5.gif
View file @
60e734d4
File moved
Prev
1
2
3
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment