Initial setup

This tutorial uses a fresh installation of NodeChain.

Prerequisites

To install NodeChain, it is necessary to have the following software installed:

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"

The scripts folder contains all the files necessary for the installation and use of NodeChain.

Run NodeChain

You are ready to start your node. Just type:

$ python3 nodechain.py start

# or

$ ./nodechain.py start

Last updated