Skip to content

Commit

Permalink
Modified intstllation guide (#562)
Browse files Browse the repository at this point in the history
* Modified installation guide

Signed-off-by: Hwangjae Lee <[email protected]>

* Fixed typo

Signed-off-by: Hwangjae Lee <[email protected]>

* Fixed typo

Signed-off-by: Hwangjae Lee <[email protected]>

* Modified create DEFAULT_LOG_PATH

Signed-off-by: Hwangjae Lee <[email protected]>

---------

Signed-off-by: Hwangjae Lee <[email protected]>
  • Loading branch information
meetrick authored May 29, 2024
1 parent 405d34c commit c432d80
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
14 changes: 10 additions & 4 deletions script/simple_start_guide/install_vatz&official-plugins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,17 @@ set -v
DEFAULT_LOG_PATH=/var/log/vatz
DEFAULT_VATZ_PATH=/root/vatz

#Create vatz log folder
mkdir $DEFAULT_LOG_PATH
# Create vatz log folder
## Check if $LOG_PATH exists
if [ -d "$DEFAULT_LOG_PATH" ]; then
echo "$DEFAULT_LOG_PATH already exists. Skipping creation."
else
## Create $LOG_PATH if it doesn't exist
mkdir $DEFAULT_LOG_PATH
fi

# Compile VATZ
cd DEFAULT_VATZ_PATH
cd $DEFAULT_VATZ_PATH
make

## You will see binary named vatz
Expand All @@ -30,4 +36,4 @@ make
./vatz plugin install github.com/dsrvlabs/vatz-plugin-cosmoshub/plugins/node_governance_alarm node_governance_alarm

# Check plugin list
./vatz plugin list
./vatz plugin list
2 changes: 1 addition & 1 deletion script/simple_start_guide/vatz_start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ NODE_IS_ALIVE_PORT=10002
NODE_PEER_COUNT_PORT=10003
NODE_ACTIVE_STATUS_PORT=10004
NODE_GOVERNANCE_ALARM_PORT=10005
VALOPER_ADDRESS=voloper_address
VALOPER_ADDRESS=valoper_address
VOTER_ADDRESS=voter_address


Expand Down

0 comments on commit c432d80

Please sign in to comment.