devapp

command
v0.0.0-...-16694d9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2021 License: BSD-3-Clause Imports: 34 Imported by: 0

README

devapp

Local development

$ go build
$ ./devapp

Then visit http://localhost:6343

Deployment

First-time setup

Install the docker, kubectl, and gcloud utilities.

Verify that docker run hello-world works without sudo. (You may need to run sudo adduser $USER docker, then either log out and back in or run newgrp docker.)

Then run:

$ gcloud auth configure-docker

Install the App Engine Go SDK: instructions

Staging
$ gcloud config set project go-dashboard-dev
$ gcloud container clusters get-credentials --zone=us-central1-f go
$ make push-staging

If creating the deployment and service the first time:

$ kubectl create -f deployment-staging.yaml
$ kubectl create -f service-staging.yaml

If updating the pod image:

$ make deploy-staging
Prod
$ gcloud config set project symbolic-datum-552
$ gcloud container clusters get-credentials --zone=us-central1-f go
$ make push-prod

If creating the deployment and service the first time:

$ kubectl create -f deployment-prod.yaml
$ kubectl create -f service-prod.yaml

If updating the pod image:

$ make deploy-prod

Documentation

Overview

Devapp is the server running dev.golang.org. It shows open bugs and code reviews and other useful dashboards for Go developers.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL