Skip to content

A set of PowerShell scripts and modules to simplify the Elrond node/s management

License

Notifications You must be signed in to change notification settings

arcsoft-ro/elrond-scripts

Repository files navigation

elrond-scripts

PowerShell scripts for managing the Elrond node/s

The set of this scripts will support you in deploying, removing, upgrading, as well as in many other management activities related to your Elrond node/s

Prerequisites

  1. Ubuntu/Debian OS
  2. A standard user on the system with sudo access
  3. Microsoft PowerShell. Official page: https://docs.microsoft.com/en-us/powershell/

Installing

  1. Clone or download the files in this repo
  2. Install PowerShell if you don't have it already. Check this page for the correct package for your OS Distribution / version:
    https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-linux?view=powershell-7

Example for Ubuntu 18.04

wget https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
sudo apt update
sudo apt install -y powershell

Example for Debian 10

wget https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
sudo apt update
sudo apt install -y powershell

Configuration

After cloning the repository, prepare your configuration file:

  1. Rename the user-config.json.sample to user-config.json
  2. Edit the values in the config file to match your preferences

Running the scripts

Option1: Run the scripts directly from your favourite shell

/scripts-path/deploy-node.ps1 

Option2: Switch to PowerShell first (this enables double-tab arguments listing)

pwsh
/scripts-path/deploy-node.ps1 

About

A set of PowerShell scripts and modules to simplify the Elrond node/s management

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published