- First we log in to our server (preferably using software like Putty). For those who are new to Putty and SSH keys, here is a very good guide.
- Install the server itself and check for updates sudo apt-get upgradesudo apt-get update
- After making sure we are in the home directory using the command
- cd we want to clone the Edgeware node repository
- git clone https://github.com/hicommonwealth/edgeware-node.git
- After this we can want to make sure if everything went well by checking the content of the home directory using ls -a
- This explores the directory. A folder called “edgeware-node” should appear.
- Now we need to get into the edgeware-node folder cd edgeware-node
- From inside this directory, we want to run the automated script that’ll set up all the necessary prerequisites and then install the node. ./setup.sh
- This command will run for a longer time (in the range of hours). We usually see warnings similar to the one below while the setup script is running. These can be ignored.
Building the Edgeware software
- To run the node we first test it using ./target/release/edgeware --chain=edgeware --name
- Instead of
type the name that you want to appear publicly in the testnet explorer.
- The node should start synchronizing blocks with other already running nodes. We can check if it is running by finding the name of our new node in the list on the Polkadot Edgeware testnet explorer
Running the node
- The node will shut down when we log out from the VM. We need to set it up so it will be running even when we close our Putty terminal. To do that, first we need to log out. Let’s do this using the command logout
- Now we log into our server again using Putty and get in the edgeware-node folder using cd edgeware-node
- Putting in the next command with our node name will ensure it stays online even after logging out.
- nohup ./target/release/edgeware --chain=edgeware --name
- Check if the node is running through the explorer.