TeaWeb/build

Mac版本 跑不起来

Closed this issue · 2 comments

GOPATH设置生效后 执行:

[xuyukun@MacOS ]teaweb-v0.0.4 $bin/teaweb start
2018/12/07 12:06:36 open /Users/xuyukun/teaweb-v0.0.4/src/main/resources/regexes.yaml: no such file or directory
		Users/liuxiangchao/Documents/Projects/pp/apps/TeaWebGit/build/src/github.com/TeaWeb/code/tealogs/access_log.go:146
2018/12/07 12:06:36 open /Users/xuyukun/teaweb-v0.0.4/src/main/resources/GeoLite2-City/GeoLite2-City.mmdb: no such file or directory
		Users/liuxiangchao/Documents/Projects/pp/apps/TeaWebGit/build/src/github.com/TeaWeb/code/tealogs/access_log.go:151
2018/12/07 12:06:36 [FATAL]'mongo.conf' not found

如果你想从源码运行,请先clone https://github.com/TeaWeb/build.git 或者下载源码,然后运行:src/main/下的init.sh,等文件下载完毕后,再执行run.sh就会跑起来了。

如果想编译可执行的版本,可以运行src/main下的build-darwin.sh