Closed salmosri closed 9 years ago
Two things:
goapp get
as this will include the appengine
packagemain
and move ONLY the views folder, the app.yaml file, and the main.go files. Keep everything else the same and try compiling then. Alternatively, use relative imports instead of full-path imports (not desirable as it goes against idiomatic Go but it will work)Both of these are less of beegae specific questions but rather a lack of understanding on how to use the AppEngine go tools (mostly because they lack any decent documentation). I guess most users of beegae are familiar with these sort of caveats and how to use the tools which is why this sort of documentation was never written.
I'll be sure to put your write-up (with some modification) in a future release. There's also the "examples" directory that you can take a look at on how to structure your beegae code!
FYI - I updated beegae and added parts into the readme on how to get started. I hope this helps!
Hi,
I am currently finding it a little difficult to get a hello world using beegae. There doesn't seem to be any documentation on here about usage of this?
Currently I have attempted the following:
This does seem to import the beegae library to the correct place (the error/warning could be resolved I hope?)
Created a Project Folder called hellobeegae and added the following
app.yaml
What to do next is a little unclear? Can you point to any documentation to get this up and running?
Unsuccessful attempts:
Edit the main.go to change the import from beego to beegae
Edit the default.go to change the import from beego to beegae
Edit the router.go to change the import from beego to beegae
Then executing the app with goapp serve
Any advice on resolving this?