Skip to content

Commit

Permalink
cosmovisor.md file created
Browse files Browse the repository at this point in the history
  • Loading branch information
valli0x committed Oct 14, 2024
1 parent 77c0e2d commit 6238be2
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions docs/cosmovisor/COSMOVISOR.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Cosmovisor for galactica

Cosmovisor is necessary for automatic node updates. Cosmovisor [docs](https://docs.cosmos.network/v0.50/build/tooling/cosmovisor)

## Installing cosmovizor

```bash
go install cosmossdk.io/tools/cosmovisor/cmd/[email protected]
cosmovisor version
```

Set the required environment variables:

1. export DAEMON_NAME=galacticad
2. export DAEMON_HOME=$HOME/.galactica
3. export DAEMON_ALLOW_DOWNLOAD_BINARIES=true
4. export UNSAFE_SKIP_BACKUP=true

## Initialization cosmosvisor:

This command creates the folder structure required for using cosmovisor.

```bash
cosmovisor init <path to binary file>
```

## Start cosmovisor

cosmovisor run \<galacticad start command\>

0 comments on commit 6238be2

Please sign in to comment.