Deploying the Bot on the Server
< 1 мин. чтения
📥 Uploading the Bot Archive #
First, you need to upload the bot archive (DEXBOT.zip) to your server in the /MYBOTS folder. You can do this in one of the following ways:
- From your PC: using
scp(in Linux/macOS terminal):
scp DEXBOT.zip root@YOUR_SERVER_IP:/MYBOTS - Via hosting panel: using your hosting provider’s web interface (e.g., Beget, DigitalOcean, etc.)
- Via browser: using SFTP clients such as WinSCP (for Windows)
📦 Extracting the Archive on the Server #
- Connect to the server via SSH if not already connected:
ssh root@YOUR_SERVER_IP - Navigate to the directory:
cd /MYBOTS - Extract the bot archive:
unzip DEXBOT.zipIf the
unzipcommand is missing, install it with:
apt install unzip -y
⚙️ Preparing for Installation #
In the /MYBOTS directory, there should already be a setup_dexbot.sh file — this is the automatic installer.
- Make sure you are in the correct folder:
cd /MYBOTS - Make the file executable:
chmod +x setup_dexbot.sh
🚀 Running the Installer #
-
- Run the script:
./setup_dexbot.sh
- Run the script:
✅ Done! #
- The bot has been successfully extracted and installed.
- All dependencies have been installed automatically.