diff --git a/.gitignore b/.gitignore index cde0123..6baeef5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ dist/ + +.idea/ diff --git a/.goreleaser.yaml b/.goreleaser.yaml index e4877ac..3996751 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -18,7 +18,7 @@ before: builds: - env: - CGO_ENABLED=0 - binary: node-compose + binary: node-automated-deployer goos: - linux - windows diff --git a/README.md b/README.md index abc7119..23432ef 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,16 @@ -# Node Compose +# Node Automated Deployer -a tool to generate dsl node with `docker-compose.yaml` +This Deployer automatically deploys an RSS3 DSL Node based on a `config.yaml` file. ## Usage ### Download -download the latest release from [release page](https://github.com/RSS3-Network/Node-Compose/releases) +download the latest release from [release page](https://github.com/RSS3-Network/Node-Automated-Deployer/releases) ```bash -tar -zxvf node-compose-v0.1.0-linux-amd64.tar.gz +tar -zxvf node-automated-deployer-v0.1.0-linux-amd64.tar.gz ``` ### Configuration @@ -20,6 +20,6 @@ create a `config.yaml` file in the subdirectory `config` of the executable file. ### Generate ```bash -./node-compose > docker-compose.yaml +./node-automated-deployer > docker-compose.yaml ``` diff --git a/go.mod b/go.mod index 57e3792..82f19e4 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/rss3-network/node-compose +module github.com/rss3-network/node-automated-deployer go 1.22.3 diff --git a/main.go b/main.go index ef5da33..3b1e81d 100644 --- a/main.go +++ b/main.go @@ -3,7 +3,7 @@ package main import ( "os" - "github.com/rss3-network/node-compose/pkg/cmd" + "github.com/rss3-network/node-automated-deployer/pkg/cmd" ) func main() { diff --git a/pkg/cmd/cmd.go b/pkg/cmd/cmd.go index 90f874a..78eba49 100644 --- a/pkg/cmd/cmd.go +++ b/pkg/cmd/cmd.go @@ -4,7 +4,7 @@ import ( "bytes" "fmt" - "github.com/rss3-network/node-compose/pkg/compose" + "github.com/rss3-network/node-automated-deployer/pkg/compose" "github.com/rss3-network/node/config" "github.com/spf13/cobra" "gopkg.in/yaml.v3"