Prerequisites

Before starting, ensure you have the following:

  1. Operating System: Linux (Ubuntu 20.04 recommended) or macOS.
  2. Hardware Requirements:
  3. Software:

You also need some basic familiarity with using the command line.

Step 1: Install Docker and Docker-Compose

If you don't already have Docker installed, you can do so by following these commands:

Ubuntu

# Update the package list
sudo apt update

# Install prerequisites
sudo apt install apt-transport-https ca-certificates curl software-properties-common -y

# Add Docker’s official GPG key
curl -fsSL <https://download.docker.com/linux/ubuntu/gpg> | sudo gpg --batch --yes --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

# Set up the stable repository
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] <https://download.docker.com/linux/ubuntu> $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

# Install Docker Engine and Docker Compose
sudo apt update
sudo apt install docker-ce docker-ce-cli containerd.io docker-compose-plugin -y

# Verify Docker installation
docker --version

# Verify Docker Compose installation
docker compose version

macOS

You can install Docker Desktop from Docker's official website.

Step 2: Clone the Artela Full Node Repository

Clone the Artela Network full node repository:

git clone <https://github.com/ArtelaNetwork/full-node.git>
cd full-node

Step 3: Configure the Node

Create a .env file in the root directory of the project. You can use the example file provided:

cp .env.example .env

Edit the .env file to customize your configuration if needed:

nano .env