package
0.0.0-20201102054017-282493799a89
Repository: https://github.com/golangltd/leafltd.git
Documentation: pkg.go.dev

# README

godoc on appengine

Prerequisites

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 .

# Structs

A Codestep is a single step in a codewalk.
A Codewalk represents a single codewalk read from an XML file.