Go to file
Jaana Burcu Dogan 650149c55c reorg types
2017-06-25 17:00:48 -07:00
app.yaml support multiple repos 2017-06-25 16:51:49 -07:00
CONTRIBUTING.md initial commit 2017-06-24 16:39:45 -07:00
LICENSE add LICENSE 2017-06-25 15:24:31 -07:00
main.go reorg types 2017-06-25 17:00:48 -07:00
README.md fix README 2017-06-25 16:53:09 -07:00
vanity.yaml support multiple repos 2017-06-25 16:51:49 -07:00

Go Vanity URLs

Go Vanity URLs is a simple App Engine Go app that allows you to set custom import paths for your Go packages.

Quickstart

Install gcloud and install Go App Engine component:

$ gcloud components install app-engine-go

Setup a custom domain for your app.

Get the application:

go get -u -d github.com/GoogleCloudPlatform/govanityurls
cd $(go env GOPATH)/github.com/GoogleCloudPlatform/govanityurls

Edit vanity.yaml too any number of git repos. E.g., CUSTOM_DOMAIN/portmidi will serve the https://github.com/rakyll/portmidi repo.

/portmidi:
  repo: https://github.com/rakyll/portmidi

Deploy the app:

$ gcloud app deploy