ERP
ERP copied to clipboard
在mac下启动程序,打开页面出现找不到login.html模板!
goERP:can't find templatefile in the path:login.html Request Method: GET Request URL: /login/in RemoteAddr: 127.0.0.1 Stack /usr/local/go/src/runtime/asm_amd64.s:479 /usr/local/go/src/runtime/panic.go:458 /Users/weeds/Documents/go/src/goERP/vendor/github.com/astaxie/beego/template.go:64 /Users/weeds/Documents/go/src/goERP/vendor/github.com/astaxie/beego/controller.go:249 /Users/weeds/Documents/go/src/goERP/vendor/github.com/astaxie/beego/controller.go:200 /Users/weeds/Documents/go/src/goERP/vendor/github.com/astaxie/beego/controller.go:184 /Users/weeds/Documents/go/src/goERP/vendor/github.com/astaxie/beego/router.go:809 /usr/local/go/src/net/http/server.go:2202 /usr/local/go/src/net/http/server.go:1579 /usr/local/go/src/runtime/asm_amd64.s:2086 beego 1.7.2 (beego framework) golang version: go1.7.1
需要安装 bee, beego @qianguozheng
@wesley6j 已安装过。 不然你以为程序可以正常运行,然后报错? 而且日志中已有beego的相关源码错误啊。
@qianguozheng 我做了个 docker compose 设置, 应该好用 https://github.com/hexiaoyun128/ERP/blob/master/docker-compose.yml.
mac下没条件验证,不好意思
如果采用的是gogland,windows下配置,其他的参考下
goERP:can't find templatefile in the path:login.html