зеркало из https://github.com/golang/gddo.git
5c76757add
Environment variables in Go are not accessible until a first request arrives. https://cloud.google.com/appengine/docs/go/config/appconfig#Go_app_yaml_Defining_environment_variables The previous code was accessing them at variable declaration time, obtaining empty values and causing authentication issues. Change-Id: Id64e7c93453f9aded04d935cf49eccba0f9a6923 |
||
---|---|---|
.. | ||
assets | ||
.gitignore | ||
README.md | ||
app.yaml | ||
main.go | ||
main_test.go | ||
setup.sh |
README.md
talksapp
This directory contains the source for go-talks.appspot.com.
Development Environment Setup
- Copy
app.yaml
toprod.yaml
and put in the authentication data. - Install Go App Engine SDK.
$ sh setup.sh
- Run the server using the
goapp serve prod.yaml
command. - Run the tests using the
goapp test
command.