ipld-eth-server/vendor/golang.org/x/tools/cmd/godoc
2018-08-07 10:51:34 -05:00
..
appinit.go Add FlipKick log events transformer 2018-08-07 10:51:34 -05:00
autocert.go Add FlipKick log events transformer 2018-08-07 10:51:34 -05:00
blog.go Add FlipKick log events transformer 2018-08-07 10:51:34 -05:00
codewalk.go Add FlipKick log events transformer 2018-08-07 10:51:34 -05:00
dl.go Add FlipKick log events transformer 2018-08-07 10:51:34 -05:00
doc.go Add FlipKick log events transformer 2018-08-07 10:51:34 -05:00
godoc19_test.go Add FlipKick log events transformer 2018-08-07 10:51:34 -05:00
godoc_test.go Add FlipKick log events transformer 2018-08-07 10:51:34 -05:00
goroot.go Add FlipKick log events transformer 2018-08-07 10:51:34 -05:00
handlers.go Add FlipKick log events transformer 2018-08-07 10:51:34 -05:00
index.go Add FlipKick log events transformer 2018-08-07 10:51:34 -05:00
main.go Add FlipKick log events transformer 2018-08-07 10:51:34 -05:00
play.go Add FlipKick log events transformer 2018-08-07 10:51:34 -05:00
README.godoc-app Add FlipKick log events transformer 2018-08-07 10:51:34 -05:00
remotesearch.go Add FlipKick log events transformer 2018-08-07 10:51:34 -05:00
setup-godoc-app.bash Add FlipKick log events transformer 2018-08-07 10:51:34 -05:00
x.go Add FlipKick log events transformer 2018-08-07 10:51:34 -05:00

godoc on appengine
------------------

Prerequisites
-------------

* Go appengine SDK
  https://developers.google.com/appengine/downloads#Google_App_Engine_SDK_for_Go

* Go sources at tip under $GOROOT

* Godoc sources at tip inside $GOPATH
  (go get -d golang.org/x/tools/cmd/godoc)


Directory structure
-------------------

* Let $APPDIR be the directory containing the app engine files.
  (e.g., $APPDIR=$HOME/godoc-app)

* $APPDIR contains the following entries (this may change depending on
  app-engine release and version of godoc):

	app.yaml
	golang.org/x/tools/cmd/godoc
	godoc.zip
	index.split.*

* The app.yaml file is set up per app engine documentation.
  For instance:

	application: godoc-app
	version: 1
	runtime: go
	api_version: go1

	handlers:
	- url: /.*
	  script: _go_app


Configuring and running godoc
-----------------------------

To configure godoc, run

	bash setup-godoc-app.bash

to prepare an $APPDIR as described above. See the script for details on usage.

To run godoc locally, using the App Engine development server, run

	<path to go_appengine>/dev_appserver.py $APPDIR

godoc should come up at http://localhost:8080 .