forked from macrozheng/mall
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4fe75af
commit eb06b6e
Showing
3 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# windows下环境安装 | ||
|
||
## mysql | ||
|
||
- 下载地址:https://dev.mysql.com/downloads/mysql/5.7.html#downloads | ||
- 下载后按提示进行安装 | ||
- 导入document/sql下的mall.sql文件 | ||
|
||
## redis | ||
|
||
- 下载地址:https://github.com/MicrosoftArchive/redis/releases | ||
- 下载后按提示进行安装 | ||
|
||
## elasticsearch | ||
|
||
- 下载地址:https://www.elastic.co/downloads/past-releases/elasticsearch-2-4-6 | ||
- 下载.zip文件,解压到指定目录 | ||
- 安装head插件,在elasticsearch-2.4.6\bin目录下执行以下命令:plugin install mobz/elasticsearch-head | ||
- 安装中文分词插件:https://github.com/medcl/elasticsearch-analysis-ik | ||
- 下载地址:https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v1.10.6/elasticsearch-analysis-ik-1.10.6.zip | ||
- 解压并拷贝到elasticsearch-2.4.6\plugins目录下 | ||
- 启动elasticsearch:运行elasticsearch-2.4.6\bin\elasticsearch.bat | ||
- 打开该地址测试是否安装成功:http://localhost:9200/_plugin/head/ | ||
|
||
## mongo | ||
|
||
## rabbitmq | ||
|
||
## mall-admin | ||
|
||
- 启动项目:直接运行com.macro.mall.MallAdminApplication的main方法即可 | ||
- 接口文档地址:http://localhost:8080/swagger-ui.html | ||
|
||
## mall-search | ||
|
||
- 启动项目:直接运行com.macro.mall.search.MallSearchApplication的main方法即可 | ||
- 接口文档地址:http://localhost:8081/swagger-ui.html | ||
- 使用前需要先调用接口导入数据;http://localhost:8081/esProduct/importAll | ||
- 如出现无法启动的问题,可以先删除elasticsearch里面的数据再启动 | ||
|
||
## mall-portal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#ĬÈÏΪ¿ª·¢»·¾³ | ||
#\u9ED8\u8BA4\u4E3A\u5F00\u53D1\u73AF\u5883 | ||
spring.profiles.active=dev | ||
|
||
#===server start=== | ||
|