This is a static site hosted on Google App Engine with Go!
- Install Python 2.7 and make sure it is in your
PATH
. (Google App Engine doesn't yet work with Python 3.) - Install Git and Mercurial and make sure
git
andhg
are in yourPATH
. - Install the Go App Engine SDK.
- Set your
GOPATH
(to something like/home/user
), and make sure it's a directory that exists. (Note: set this on your machine's environment, not in the go.bat file.) - Further commands use
goapp
which lives in thego_appengine
directory from the SDK. Make sure it's in yourPATH
. - Download appengine-go and dependencies by running:
goapp get -d github.com/nikmahes/appengine-go
. You may get messages about unrecognized imports. Ignore them. cd $GOPATH/src/github.com/nikmahes/appengine-go/app
.- Copy
app.sample.yaml
toapp.yaml
. - In the
appengine-go
directory (cd ..
from the command above), copysettings.go.dist
tosettings.go
. - From the
app
directory, start the app withgoapp serve
. (On Windows, you may need to do this instead:python C:\go_appengine\dev_appserver.py app.yaml
.) - View at localhost:8080, admin console at localhost:8000.
- Set up a local dev environment as described above.
- Create a new app engine application.
- In
app.yaml
, change the first line to contain the name of the application you just created. - From the
app
directory, deploy withgoapp deploy
.