Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

开发环境使用docker #53

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

开发环境使用docker #53

wants to merge 11 commits into from

Conversation

h1z3y3
Copy link

@h1z3y3 h1z3y3 commented Sep 23, 2019

将代码支持使用docker开发,开箱即用。

无需安装 go、无需安装 mysql、无需手动导入数据表,开箱即用。
make gomod 或者 make dep 安装 go 依赖包
make dev 之后即可打开 浏览器看效果。
编译方式也改为由 docker 镜像编译,make build-servermake build-gethot

使用的 go 镜像版本为最新版本 1.13.0,使用 mysql 镜像为最新版本 8.0.17

项目主代码没有任何修改,简单修改了引入包的方式,以及简单修改了目录结构,将源码放入 src 目录。

@timeromantic
Copy link
Member

你好,非常感谢你的PR,我觉得你提交的内容很有用,后续会把你提交的docker部署方式合并到项目里面

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants