astaxie / beegae

beego for GAE
Other
38 stars 11 forks source link

hello example fails to run locally #8

Closed emicklei closed 10 years ago

emicklei commented 10 years ago

To make "goapp serve" work, I changed the import in main.go to

github.com/astaxie/beegae/example/hello/controllers

However, the local server still complaints with:

2014/05/16 22:00:48 go-app-builder: Failed parsing input: app file default.go conflicts with same file imported from GOPATH

I am not sure if it is intended to work locally; I guess it should.

someone1 commented 10 years ago

Due to a recent update in the GAE Go SDK you have to use relative import paths for your actual application. The import paths in the example provided should be kept as is.

There have also been quite a few updates to the beego project that I haven't yet merged which may also be causing a problem. I will have more time to test/look into it later this week and will merge in updates as required.

someone1 commented 10 years ago

FYI - The project should have always been able to run the basic hello app but some of the new features of beego were not included. I've just updated the project to match up to beego v1.2.0 and was able to run the provided example app.

Thank you.

astaxie commented 10 years ago

cool