Skip to content

Insane-Saga/gensyn-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 

Repository files navigation

πŸ’» Gensyn AI RL-Swarm Guide (Windows/Mac/Linux) πŸ’»

βœ… System Requirements

image

❌ Don’t use low-spec devices! It may crash your system.

Use a good VPS or high-performance local machine.

NOTE: You Can rent VPS on "https://contabo.com/en/vps/" budget freindly

1️⃣ Connect to VPS

ssh username@ip

2️⃣ Install Python & Tools

πŸ”§ Linux/Wsl:

sudo apt update && sudo apt install -y python3 python3-venv python3-pip curl wget screen git lsof

🍏 Mac:

brew install python

Check Python version:

python3 --version

3️⃣ Install Node.js & Yarn

πŸ”§ Linux/Wsl:

curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt install -y nodejs

Install Yarn:

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list > /dev/null
sudo apt update && sudo apt install -y yarn

🍏 Mac:

brew install node && corepack enable && npm install -g yarn

Check versions:

node -v
npm -v
yarn -v

πŸš€ Start the RL Swarm Node

git clone https://github.com/gensyn-ai/rl-swarm.git
screen -S gensyn

cd $HOME && rm -rf gensyn-testnet && git clone https://github.com/zunxbt/gensyn-testnet.git && chmod +x gensyn-testnet/gensyn.sh && ./gensyn-testnet/gensyn.sh

When prompted:

Logs will start showing.

Detach screen: Ctrl + A, then D
To reattach: screen -r gensyn

πŸ’Ύ Save Chat Bonus Files

To resume and claim chat bonuses or rewards in the future, make sure to back up these files:

  • swarm.pem β†’ Located in the root of rl-swarm folder
  • userApiKey.json and userData.json β†’ Located in modal-login/temp-data/

You can copy them to a safe location on your device or cloud.

πŸ“Œ Example command to copy from VPS to local:

scp USERNAME@YOUR_IP:~/rl-swarm/swarm.pem ~/swarm.pem
scp USERNAME@YOUR_IP:~/rl-swarm/modal-login/temp-data/userApiKey.json ~/
scp USERNAME@YOUR_IP:~/rl-swarm/modal-login/temp-data/userData.json ~/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors