tree: ae080a7da251d29a4a7d5e99da856e2bd96a8902 [path history] [tgz]
  1. owners/
  2. static/
  3. templates/
  4. deployment-prod.yaml
  5. deployment-staging.yaml
  6. devapp.go
  7. Dockerfile
  8. gophercon.go
  9. gophercon_test.go
  10. Makefile
  11. README.md
  12. release.go
  13. release_test.go
  14. reviews.go
  15. server.go
  16. server_test.go
  17. service-prod.yaml
  18. service-staging.yaml
devapp/README.md

devapp

Local development

$ go build
$ ./devapp

Then visit http://localhost:6343

Deployment

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