Fixed instructions in the readme

- Fixed path pointing to old Github id
- Fixed config example
This commit is contained in:
Ian Lewis 2018-10-22 11:23:10 +09:00
parent c92e1f3547
commit ba9379dfb8

View File

@ -16,7 +16,7 @@ cloud-dyndns-client requires **Go 1.8**.
`go get`: `go get`:
``` ```
go get github.com/IanLewis/cloud-dyndns-client/cmd/cloud-dyndns-client go get github.com/ianlewis/cloud-dyndns-client/cmd/cloud-dyndns-client
``` ```
This will download the code, compile it, and leave an `cloud-dyndns-client` binary This will download the code, compile it, and leave an `cloud-dyndns-client` binary
@ -55,11 +55,13 @@ Create a `config.json` for the client. Enter the domain name you want to update,
``` ```
{ {
"mydomain.example.com": { "domains": {
"provider": "gcp", "mydomain.example.com": {
"provider_config": { "provider": "gcp",
"project_id": "example-project", "provider_config": {
"managed_zone": "example-zone", "project_id": "example-project",
"managed_zone": "example-zone",
}
} }
} }
} }