Skip to content

nikhilmahesh/appengine-go

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

appengine-go

This is a static site hosted on Google App Engine with Go!

setting up a local dev environment

  1. Install Python 2.7 and make sure it is in your PATH. (Google App Engine doesn't yet work with Python 3.)
  2. Install Git and Mercurial and make sure git and hg are in your PATH.
  3. Install the Go App Engine SDK.
  4. 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.)
  5. Further commands use goapp which lives in the go_appengine directory from the SDK. Make sure it's in your PATH.
  6. Download appengine-go and dependencies by running: goapp get -d github.com/nikmahes/appengine-go. You may get messages about unrecognized imports. Ignore them.
  7. cd $GOPATH/src/github.com/nikmahes/appengine-go/app.
  8. Copy app.sample.yaml to app.yaml.
  9. In the appengine-go directory (cd .. from the command above), copy settings.go.dist to settings.go.
  10. From the app directory, start the app with goapp serve. (On Windows, you may need to do this instead: python C:\go_appengine\dev_appserver.py app.yaml.)
  11. View at localhost:8080, admin console at localhost:8000.

self host on production app engine servers

  1. Set up a local dev environment as described above.
  2. Create a new app engine application.
  3. In app.yaml, change the first line to contain the name of the application you just created.
  4. From the app directory, deploy with goapp deploy.

About

This is a static site for Google App Engine with Go!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 70.3%
  • HTML 29.7%