The next thing I had to do was install the Go SDK. To to that, I went into the Google Cloud SDK console window, and issued
gcloud components update gae-go
If you're using the Windows version, there might be a bug in goapp.bat. You will probably find it at
C:\Program Files\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine
I issued the following to retrieve the Beegae Go package:
goapp get github.com/astaxie/beegae
and got this error...
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
I fixed the problem by these steps:
- Open Notepad as Administrator
- Open goapp.bat
- Put the %GOROOT%\bin\%EXENAME% line, along with all the parameters, on a new line
- Put quotation marks (") around %GOROOT%\bin\%EXENAME%
- Save (make sure NOT as a .TXT file) and Exit
If you're a bit squeamish, Copy goapp.bat as goapp.bat.old first. I reissued the above "goapp" command, and this time it ran. In the next installment, I'll get into how I configured this project.
Very nice my friend!
ReplyDelete