linbaozhong / go-cms

基于beego框架的cms系统
92 stars 58 forks source link

FIX for cannot find package "cms/controllers" #2

Open omac777 opened 10 years ago

omac777 commented 10 years ago

go get github.com/linbaozhong/go-cms go build main.go:4:2: cannot find package "cms/controllers" in any of: /home/loongson/Code/go/src/pkg/cms/controllers (from $GOROOT) /home/loongson/Code/oldgo/src/cms/controllers (from $GOPATH) main.go:5:2: cannot find package "cms/models" in any of: /home/loongson/Code/go/src/pkg/cms/models (from $GOROOT) /home/loongson/Code/oldgo/src/cms/models (from $GOPATH) main.go:6:2: cannot find package "cms/utils" in any of: /home/loongson/Code/go/src/pkg/cms/utils (from $GOROOT) /home/loongson/Code/oldgo/src/cms/utils (from $GOPATH)

FIXED go get github.com/linbaozhong/go-cms

global search and replace cms/ with github.com/linbaozhong/go-cms/

go get github.com/axgle/mahonia go get github.com/disintegration/imaging go get github.com/coocood/qbs go get github.com/mattn/go-sqlite3

omac777 commented 10 years ago

edit conf/app.conf:

for linux path separators

LangPath = "static/js/i18n.json"

edit static/js/i18n.json: add some english language resource strings.