Skip to content

Latest commit

 

History

History
28 lines (14 loc) · 593 Bytes

README.md

File metadata and controls

28 lines (14 loc) · 593 Bytes

gin_web_demo

本地环境

1、修改conf/config.yaml 里的mysql及redis配置

2、执行./gin_web_demo conf/config.yaml

docker环境搭建

➜  ~ docker build -t gin_web_demo:1.0 .
➜  ~ docker run -itd -p 8084:8084 --name gin_web_demo gin_web_demo:1.0

进入gin_web_demo容器

1、修改conf/config.yaml 里的mysql及redis配置

2、执行./gin_web_demo conf/config.yaml

浏览器打开http://localhost:8084/swagger/index.html即可访问对应的api

swagger-api