Update README.md

This commit is contained in:
jiacai_wang 2020-06-06 21:00:20 +08:00 committed by GitHub
parent c38556b7f4
commit d70b774326
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,20 +6,20 @@ update domain record using AliCloud Go SDK. ip is fetched from http://ip-api.com
### Usage ### Usage
- First, create an AccessKey at https://usercenter.console.aliyun.com/. - First, create an AccessKey at https://usercenter.console.aliyun.com/.
> - 在[此处](https://usercenter.console.aliyun.com/)申请AccessKey。 - 在[此处](https://usercenter.console.aliyun.com/)申请AccessKey。
- Then fill in `config.json` the AccessKey, AccessSecret, and the domain you want to setup. - Then fill in `config.json` the AccessKey, AccessSecret, and the domain you want to setup.
> - 在 `config.json`文件中填入AccessKey和AccessSecret以及需要更新的域名 - 在 `config.json`文件中填入AccessKey和AccessSecret以及需要更新的域名
- Run `alidns`. If provided correct config file, things should work fine. - Run `alidns`. If provided correct config file, things should work fine.
> - 运行`alidns`程序。如果config.json配置文件信息正确会输出success信息。 - 运行`alidns`程序。如果config.json配置文件信息正确会输出success信息。
> To compile from source > To compile from source
>> - Install Aliyun Go SDK by running `go get -u github.com/aliyun/alibaba-cloud-sdk-go/sdk`. > - Install Aliyun Go SDK by running `go get -u github.com/aliyun/alibaba-cloud-sdk-go/sdk`.
>> - Run `go build alidns.go`. *Run `go mod init alidns` if needed.* > - Run `go build alidns.go`. *Run `go mod init alidns` if needed.*
### Release ### Release
##### Windows Windows
>> [alidns.zip](https://github.com/jiacai-wang/alidns/releases/download/v0.1/alidns.x86.zip) > [alidns.zip](https://github.com/jiacai-wang/alidns/releases/download/v0.1/alidns.x86.zip)
##### Linux Linux
>> [alidns.tar.gz](https://github.com/jiacai-wang/alidns/releases/download/v0.1/alidns.x86.tar.gz) > [alidns.tar.gz](https://github.com/jiacai-wang/alidns/releases/download/v0.1/alidns.x86.tar.gz)