You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
SOP/doc/docs/files/10010_快速体验.md

921 B

快速体验

运行环境:JDK8,Maven3,Zookeeper

  • 安装并启动zookeeper,安装教程
  • IDE打开项目(IDEA下可以打开根pom.xml,然后open as project)
  • 启动注册中心,sop-registry(运行SopRegistryApplication.java)
  • 启动微服务:sop-story-web(运行SopStoryApplication.java)
  • 启动网关:sop-gateway(运行SopGatewayApplication.java)
  • 找到sop-test,打开测试用例,进行接口调用测试,运行com.gitee.sop.AlipayClientPostTest.testPost()

确保注册中心先启动

使用admin

  • 找到sop-admin/sop-admin-server工程,运行com.gitee.sop.adminserver.SopAdminServerApplication.java
  • 找到sop-admin/sop-admin-front/index.html文件,在IDEA下直接右键--Run'index.html'
  • 如果没有用到IDEA,则需要把sop-admin-front放到静态服务器中然后访问index.html