hypercore-one / deployment

GNU General Public License v3.0
1 stars 1 forks source link

Zenon Network Setup Script

This script automates the setup, management, and restoration of the Zenon Network (go-zenon) node. It handles dependencies installation, Go installation, Zenon deployment, and service management. The script also offers additional options for restoring from a bootstrap, monitoring logs, and installing Grafana for visualizing data.

Features

Prerequisites

This script assumes you're running a Linux distribution that uses apt as a package manager (e.g., Ubuntu or Debian). You need to have git installed. You must also have superuser (root) privileges to execute this script.

Usage

Clone the script or save it locally, then run it using a bash terminal:

sudo ./go-zenon.sh [OPTIONS]

Options

Example Usage

Deploying Zenon Network

To deploy and set up the Zenon Network, run:

sudo ./go-zenon.sh --deploy

This will:

Restoring from Bootstrap

To restore from a bootstrap, use:

sudo ./go-zenon.sh --restore

Monitoring Logs

To monitor the znnd logs, run:

sudo ./go-zenon.sh --status

Installing Grafana

To install Grafana for visualizing Zenon metrics:

sudo ./go-zenon.sh --grafana

Customizing the Script

You can adjust the Go version or repository URL by modifying the following variables in the script:

Notes


This README.md provides an overview of how to use the script, its features, and specific commands for deployment and service management. Let me know if you need any further adjustments!