Installation guide for Script Node setup for Win , Mac and Linux
Step 1 - [ Setup Go Environment ]
$ sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get install build-essential
$ wget https://go.dev/dl/go1.17.4.linux-amd64.tar.gz
$ rm -rf /usr/local/go && tar -C /usr/local -xzf go1.17.4.linux-amd64.tar.gz
$ echo 'export PATH=$PATH:/usr/local/go/bin' >> ~/.profile
$ echo 'export PATH=$PATH:/usr/local/go/bin' >> ~/.bashrc
$ echo 'export SCRIPT_HOME=/usr/local/go/src/github.com/scripttoken/script' >> ~/.bashrc
$ echo 'export SCRIPT_HOME=/usr/local/go/src/github.com/scripttoken/script' >> ~/.profile
$ source ~/.bashrc && source ~/.profile
Step 2 - [ Setup Node ]
$ mkdir -p /usr/local/go/src/github.com/scripttoken/ && cd /usr/local/go/src/github.com/scripttoken/ git clone https://github.com/scriptnetwork/Node-Network-guide.git script
Note: Code is there on main branch so it can be clone directly without switching any branch using github
$ cd $SCRIPT_HOME
Last updated