зеркало из https://github.com/golang/build.git
20 строки
374 B
Markdown
20 строки
374 B
Markdown
|
# devapp
|
||
|
|
||
|
## Local development
|
||
|
|
||
|
```sh
|
||
|
$ make devapp
|
||
|
$ ./devapp
|
||
|
```
|
||
|
|
||
|
Then visit http://localhost:6343
|
||
|
|
||
|
## Deployment
|
||
|
|
||
|
```sh
|
||
|
$ gcloud config set project {go-dashboard-dev|symbolic-datum-552}
|
||
|
$ gcloud container clusters get-credentials --zone=us-central1-f go
|
||
|
$ make push-{dev|prod}
|
||
|
$ kubectl create -f deployment-{dev|prod}.yaml
|
||
|
$ kubectl create -f service-{dev|prod}.yaml
|
||
|
```
|