Local Hosting or VPS
Supports Debian/Linux/Ubuntu and others.
๐ Running with Legacy Method
Get ready with the Mandatory Vars that we provided in the .env config file.
1. Upgrade and Update:
sudo apt update && apt upgrade -y2. Installing Required Packages
sudo apt install git curl python3-pip ffmpeg -y3. Setting up PIP
pip3 install -U pip4. Installing Node
curl -sL https://deb.nodesource.com/setup_16.x | bash -sudo apt-get install -y nodejsnpm i -g npm5. Installing Process Manager
6. Clone the Repository & Open the Directory
7. Install Requirements
8. Create .env with example.env
9. Editing Vars in .env with your own Values
โฃ read config doc and vars doc for this value !
Press i button on keyboard to start Editing vars.
Press Esc button on keyboard to exit from editing mode.
The type :wq! and Press Enter button on keyboard to save file and back to home.
10. Finally Run the Bot
To stop the process press Ctrl + C button on Keyboard.
The python3 main.py command will only run the code as long as you still have the vps open, but when you close your vps the bot will stop working too.
To stop current process use: pm2 stop (session number)
To restart the bot use: pm2 restart (session number)
To use this command make sure if you're not out from video-stream directory, because you must in the directory to run this Command.
Last updated