tree: 70e0412228b7a73ce5e140135afcaf39acc92025 [path history] [tgz]
  1. static/
  2. templates/
  3. .gitignore
  4. deployment-prod.yaml
  5. deployment-staging.yaml
  6. devapp.go
  7. Dockerfile
  8. Dockerfile.0
  9. gophercon.go
  10. gophercon_test.go
  11. Makefile
  12. README.md
  13. release.go
  14. release_test.go
  15. reviews.go
  16. server.go
  17. server_test.go
  18. service-prod.yaml
  19. 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