View Code? Open in Web Editor
NEW
This project forked from exrick/xmall
基于SOA架构的分布式电商购物商城 前后端分离 前台商城:Vue全家桶 后台管理系统:Dubbo/SSM/Elasticsearch/Redis/MySQL/ActiveMQ/Shiro/Zookeeper等
Home Page: http://xmall.exrick.cn
License: GNU General Public License v3.0
Java 94.69%
HTML 4.32%
CSS 0.86%
Makefile 0.01%
CoffeeScript 0.04%
PHP 0.09%
xmall's Introduction
-
Spring Cloud版
-
APP
-
XMall开放平台(仿微信开放平台)
- 后台页面【新 待开发】
- 后台页面【旧】
- 前台页面
- 详情请跳转至 xmall-front 项目仓库
- 感谢 yucccc 的开源 vue-mall 项目提供前端页面及框架支持
- Vue2 + Vuex + Vue Router + Element UI + ES6 + webpack + axios + Node.js
各框架依赖版本皆使用目前最新版本 可进入xmall-parent中 pom.xml 查看
dependency
文件夹提供部分依赖与sql文件
- xmall.sql:数据库文件
- dubbo.xsd:需手动配置避免报错
- redis-3.0.0.gem:Redis集群搭建所需Ruby库
generatorSqlmapCustom
文件夹为 Mybatis Generator 逆向生成工具,且已配置好maven插件
- 下载zip直接解压或安装git后执行克隆命令
git clone https://github.com/Exrick/xmall.git
- 依赖安装:ZooKeeper、Redis、ActiveMQ、Elasticsearch
- 修改各依赖相应IP配置(默认本地127.0.0.1),以及七牛云、极验配置在
xmall-common - utils
中找到修改,同步索引在xmall-manager-web\src\main\webapp\WEB-INF\jsp\refresh-index.jsp
两处ajax中修改Elsticsearch对应IP
- Maven安装和在IDEA中配置
- 使用IDEA(破解/免费注册)
File-Open
直接打开xmall项目,点击右下角 Import Changes
等待安装完依赖即可
- MySQL数据库新建
xmall
数据库,运行sql文件,注意在 xmall-manager-service/resources/conf/db.properties
中修改你的数据库连接配置
- 按照依赖顺序分别在每个模块文件夹根目录执行
mvn install
命令
- 项目需按照依赖顺序运行除
xmall-parent
xmall-common
以外其它所有服务,且都已配置好Tomcat插件, 执行命令 mvn tomcat7:run
或在IDEA中使用插件(View - Tool Buttons - 右侧菜单Maven Projects - tomcat7 - tomcat7:run
)运行即可,当然可自行配置
- 后端管理系统默认端口8888 http://localhost:8888 管理员账密admin|123456
- 前端项目接口默认端口7777 前台页面请启动基于Vue的 xmall-front 项目,并修改其接口配置
xmall's People
Contributors
Stargazers