Files
SOP/doc/docs/files/1001_快速体验.md
2019-03-23 18:01:48 +08:00

21 lines
921 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 快速体验
> 运行环境JDK8Maven3Zookeeper
- 安装并启动zookeeper[安装教程](http://zookeeper.apache.org/doc/r3.4.13/zookeeperStarted.html)
- 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