Source code for my personal web server
Too many analogies with port - like a spaceport or portal to the web for Sam's portfolio.
This is an exercise in writing a simple, clean, idiomatic web server with only the std lib.
go get github.com/samolds/port
cd $GOPATH/src/github.com/samolds/port
go mod vendor
go install -mod=vendor .../port && ../../../../bin/port
--port=":8080"
--static-dir="/Users/samolds/projects/go/src/github.com/samolds/port/static"
--gae-project-id="samolds"
--gae-cred-file="/Users/samolds/projects/go/src/github.com/samolds/port/static/assetdump/gae_cred_file_samolds.json"
--rel-html-tmpl-dir="template/pages"
cd $GOPATH/src/github.com/samolds/port
go test ./...
In directory with app.yaml
gcloud app deploy
- github.com/samolds/port/template
- github.com/GoogleCloudPlatform/golang-samples/appengine/go11x/static/
- gopkg.in/webhelp.v1/whmux
- github.com/spacemonkeygo/spacelog
- gopkg.in/spacemonkeygo/monkit.v2
- github.com/zeebo/errs
- github.com/go-chi/chi
- cloud.google.com/go
- github.com/GoogleCloudPlatform/golang-samples/getting-started/bookshelf/app