Skip to content

CryptoNodeID/nexus-xyz-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nexus Lab Testnet using docker compose

Prerequisites

Have docker installed. Install docker:

for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc; do sudo apt-get remove -qy $pkg; done
sudo apt -qy update
sudo apt -qy install curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
  $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
  sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt update -qy
sudo apt install -qy docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

Steps

  1. Go to: beta.nexus.xyz.
  2. Get Prover ID at the left bottom corner
  3. Clone This Repository
    git clone https://github.com/CryptoNodeID/nexus-xyz-cli.git
    cd nexus-xyz-cli
  4. Put the Prover ID in docker-compose.yml
  5. Run
    docker compose up -d
    
  • To check logs
    docker compose logs -fn 100
    
    

this is how to create many containers in a docker-compose file

First Of all, what you need to do is change the BASE_PROVER_ID="null" in auto-create.sh

cd nexus-xyz-cli 
nano auto-create.sh

Change "null" to your proverid then you can execute the following command below:

chmod +x auto-create.sh
./auto-create.sh <FILL_THE_NUMBER_YOU_WANT>
  • For example
./auto-create.sh 10

that means you are creating 10 container in a docker compose file

after all files created, you can easily execute it

docker compose up -d

ENJOOOY

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •