Git Product home page Git Product logo

vacomall's Introduction

vacomall

分布式电商平台,基于SpringMVC开发,其他相关技术,Mybatis(开源ORM框架),Mybatis-Plus(国产ORM辅助包),Dubbo(阿里巴巴开源分布式服务框架),Zookeeper(分布式协调),Redis(高效KV),ActiveMQ(消息队列),Disconf(百度分布式配置),Nginx(LB负载均衡),Shiro(轻量级权限框架),SSO(单点登录),Solr(搜索引擎),文件存储(百度BOS,七牛云),Mail(邮件),SMS(短信),Maven Nexus(Maven私服), Docker(虚拟化),Jenkins(持续集成)等。目前正在设计、搭建框架。

环境要求

                                                                                                 
服务版本端口说明
zookeeper1 v3.3.6127.0.0.1:2181 --  
zookeeper2 v3.3.6127.0.0.1:2182 --  
zookeeper3 v3.3.6127.0.0.1:2183 --  
redis1 v3.2127.0.0.1:6379 --  
redis2 v3.2127.0.0.1:6380 --  
nginx v1.9.3127.0.0.1:80 --  
disconf v2.6.36127.0.0.1:8015使用Tomcat部署disconf  
apache-activemq v5.9.0127.0.0.1:8161--  

开发参考

  1. disconf-web安装 http://disconf.readthedocs.io/zh_CN/latest/install/src/02.html
  2. 开发依赖包 https://github.com/zhougaojun618/vacomall-server

快速开始

  1. 启动两个Redis服务
 ./redis-server.exe //默认的端口6376
 ./redis-server.exe --port 6380 //指定端口6380
  1. 启动三个ZooKeeper服务
 /zookeeper-3.3.6-1/bin/zkServer.cmd // port 2181
 /zookeeper-3.3.6-2/bin/zkServer.cmd // port 2182
 /zookeeper-3.3.6-3/bin/zkServer.cmd // port 2183
  1. 部署disconf服务,官网下载disconf,部署在Tomcat容器下。
  2. 下载nginx,依照disconf的要求配置好nginx,参考http://disconf.readthedocs.io/zh_CN/latest/install/src/02.html
  3. 域名映射,修改本地host文件,加上一句
127.0.0.1 disconf.com

6.访问http://disconf.com, 上传项目所需配置文件到disconf 如下图 image 7. 运行服务项目

vacomall-service-system
vacomall-service-goods 直接执行DubboProvider.java中main方法
  1. 运行Web项目
vacomall-web-admin项目,端口8081,上下文"/"
vacomall-web-shop项目,端口8080,上下文"/"
  1. 访问前台:http://localhost:8080, 访问前台: http://localhost:8081

最终实现效果

image image

开发进度

目前正在架构设计、框架搭建中...

vacomall's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.