Skip to content

DiscoverMyself/Exorde-Labs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

EXORDE LABS

Persyaratan Hardware

  • Memory : 4 GB RAM
  • CPU : 2 or more physical CPU cores
  • Disk : -+ 40 GB SSD Storage
  • OS : Ubuntu 18.04 LTS

Set Vars

  WALLET_ADDRESS=<METAMASK WALLET ADDRESS>

Change To your Metamask Wallet Address

echo export WALLET_ADDRESS=${WALLET_ADDRESS} >> $HOME/.bash_profile
source ~/.bash_profile

Update Packages and Dependencies

cd $HOME
sudo apt update && sudo apt upgrade -y
sudo apt install curl build-essential git wget npm jq make gcc tmux -y && apt purge docker docker-engine docker.io containerd docker-compose -y

Intsall Docker

rm /usr/bin/docker-compose /usr/local/bin/docker-compose
curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh
systemctl restart docker
curl -SL https://github.com/docker/compose/releases/download/v2.5.0/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
docker --version

Clone Repository

git clone https://github.com/exorde-labs/ExordeModuleCLI.git
cd ExordeModuleCLI
docker build -t exorde-cli .

Run Exorder CLI through Docker

This runs in the background

docker run -d -it --name Exorde exorde-cli -m $WALLET_ADDRESS -l 4

You can change the logs by changing 4 :

0 = no logs

1 = general logs

2 = validation logs

3 = validation + scraping logs

4 = detailed validation + scraping logs (e.g. for troubleshooting)

Useful commands

Check logs

docker logs Exorde

Check logs constantly

docker logs --follow Exorde

Check Explore

https://explorer.exorde.network/

Restart

(for first time)

DOCKER_ID=$(docker ps -aqf "name=Exorde")
echo 'export DOCKER_ID='${DOCKER_ID} >> $HOME/.bash_profile
source $HOME/.bash_profile
docker restart $DOCKER_ID

if you ever set variabel above, for the next restart just use this command

docker restart $DOCKER_ID

To delete node

sudo  docker stop Exorde &&  sudo  docker  rm Exorde
sudo  rm -rf ExordeModuleCLI

Releases

No releases published

Packages

No packages published