Before starting, ensure you have the following:
First, update your package manager and install essential software dependencies. On Ubuntu, run the following commands:
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install -y curl git docker.io docker-compose
Ensure that Docker is running correctly:
sudo systemctl enable docker && sudo systemctl start docker
Verify Docker installation:
docker --version
You will need to clone the official Union node repository. Run:
git clone <https://github.com/union-build/union-node.git>
cd union-node
Before starting the node, you need to configure some environment variables. Create a .env file in the union-node directory by copying the example file:
cp .env.example .env
Open the .env file in a text editor (e.g., nano):