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

26 lines
1.0 KiB

6 years ago
# 快速体验
> 运行环境:JDK8,Maven3,[Nacos](https://nacos.io/zh-cn/docs/what-is-nacos.html),Mysql
6 years ago
- 安装并启动Nacos,[安装教程](https://nacos.io/zh-cn/docs/quick-start.html)
6 years ago
- 执行Mysql脚本`sop.sql`
- IDE安装lombok插件,然后打开项目(IDEA下可以打开根pom.xml,然后open as project)
5 years ago
- 启动网关:打开sop-gateway下的`application-dev.properties`
1. 修改数据库`username/password`
2. 指定nacos地址,如果nacos安装在本机则不用改
5 years ago
3. 运行`SopGatewayApplication.java`
- 启动微服务:打开sop-story-web下的`application-dev.properties`文件
1. 指定nacos地址,如果nacos安装在本机则不用改
5 years ago
2. 运行`SopStoryApplication.java`
5 years ago
- 找到sop-test,打开`AllInOneTest.java`进行接口调用测试
6 years ago
## 使用admin
5 years ago
- 找到`sop-admin/sop-admin-server`工程,打开sop-admin-server下的`application-dev.properties`,修改相关配置
5 years ago
- 运行`SopAdminServerApplication.java`
6 years ago
- 访问:`http://localhost:8082`
6 years ago
登录账号:admin/123456
6 years ago