Prerequisites

Before you begin, ensure you have:

  1. Hardware Requirements:
  2. Software Requirements:

Step 1: Clone the Omni Network Repository

Open a terminal and run the following commands:

# Update and install dependencies
sudo apt update && sudo apt upgrade -y
sudo apt install -y git curl wget

# Clone the Omni Network repository
git clone <https://github.com/omni-network/omni-node.git>

# Navigate to the directory
cd omni-node


Step 2: Configure Your Node

  1. Set up environment variables: Edit the .env file to customize the node’s configuration.

    cp .env.example .env
    nano .env
    
    

    Adjust the values as necessary:

  2. Save and exit: Press Ctrl + O, then Enter, and Ctrl + X.


Step 3: Start the Node

Using Docker Compose

Run the following commands to start your node using Docker Compose:

# Build and start the container
docker-compose up --build -d

Verify the Node is Running

Check the logs to ensure the node is operating correctly: