Initial setup
Prerequisites
To install NodeChain, it is necessary to have the following software installed:
Python3 >= 3.6
Installation
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Download the project
The first thing to do is to download the project from GitHub. To do this we will use the command-line:
$ git clone git@github.com:swapper-org/NodeChain.git
Install dependencies
Depending on your setup, you will need to install the requirements.txt
file dependencies if you have not installed them previously:
# Go to the scripts folder
$ cd scripts
# Install via pip
$ pip install -r "requirements.txt"
Run NodeChain
You are ready to start your node. Just type:
$ python3 nodechain.py start
# or
$ ./nodechain.py start
You need to be in the scripts
folder to run nodechain.py
file. If you want to run NodeChain as a system command go to the "How-to" section
Last updated