Spaces:
Paused
Paused
- Upgrade and Update by : | |
`sudo apt-get update && sudo apt-get upgrade -y` | |
- Install Ffmpeg by : | |
`sudo apt-get install python3-pip ffmpeg -y` | |
- Install required packages by : | |
`sudo apt-get install python3 python3-pip -y` | |
- Install pip by : | |
`sudo pip3 install -U pip` | |
- Install Node js by : | |
`curl -fssL https://deb.nodesource.com/setup_19.x | sudo -E bash - && sudo apt-get install nodejs -y && npm i -g npm` | |
- Clone the repository by : | |
`git clone https://github.com/xteam-cloner/Wleowleo && cd Wleowleo` | |
- Install requirements by : | |
`pip3 install -U -r requirements.txt` | |
- Fill your variables in the env by : | |
`vi sample.env`<br> | |
Press `I` on the keyboard for editing env<br> | |
Press `Ctrl+C` when you're done with editing env and `:wq` to save the env<br> | |
- Rename the env file by : | |
`mv sample.env .env` | |
- Install tmux to keep running your bot when you close the terminal by : | |
`sudo apt install tmux && tmux` | |
- Finally run the bot by : | |
`bash start` | |
- For getting out from tmux session : Press `Ctrl+b` and then `d`<br> | |