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

小白问一下,如何启动运行起来 #2

Open
lfcleo opened this issue Oct 31, 2019 · 2 comments
Open

小白问一下,如何启动运行起来 #2

lfcleo opened this issue Oct 31, 2019 · 2 comments

Comments

@lfcleo
Copy link

lfcleo commented Oct 31, 2019

我在下载项目后,有好多三方依赖没有go get,如何才能运行起来项目?能否出一个教程呢?新手想学习一下。

@dreamlu
Copy link
Owner

dreamlu commented Nov 1, 2019

这个这个....
学习go modules.后(go mod tidy)

1.新建数据库deercoder-chat,导入sql
2. ./consul.sh
3.运行每个模块下../run.sh (访问http://localhost:8500, 查看各个模块运行状态)
4.......

ps: docker 模式下需要运行./devMode.sh (先修改脚本中的devMode=prod), 本地开发不需要

@lfcleo
Copy link
Author

lfcleo commented Nov 13, 2019

好的,我学习下go modules的相关知识。。。。。

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

No branches or pull requests

2 participants