NuLink Worker Installation
NuLink can be run either from a docker container or via local installation. Running Nulink via a docker container simplifies the installation process and negates the need for a local installation. Therefore, it is recommended that you use docker for installation.
Docker install and update
Install Docker Engine
Pull the latest NuLink image.
Create a directory in your host machine for later usage.
Copy the keystore file of the Worker account to the host directory selected in step 3. The private file generated by NuLink Worker will also be stored in this directory.
Please ensure that this directory has 777 permissions:
Local Install
NuLink supports Python 3.9. If you don’t already have it, install Python.
In order to isolate global system dependencies from nulink-specific dependencies, we highly recommend using python-virtualenv to install nulink inside a dedicated virtual environment.
For full documentation on virtualenv see:
Create a Virtual Environment
Create a virtual environment in a folder somewhere on your machine. This virtual environment is a self-contained directory tree that will contain a python installation for a particular version of Python, and various installed packages needed to run the node.
Activate the newly created virtual environment
Download built package or Download source package and install the Nulink package Download the python package:
Install the python package:
Verify Installation
Before continuing, verify that your Nulink installation and entry points are functional.
Activate your virtual environment, if not activated already:
Next, verify nulink is importable. No response is successful, silence is golden:
Then, run the nulink --help command:
You will get this output:
Last updated