lyfe00011 / whatsapp-bot-md

A whatsapp Multi Device bot based on baileys
1.7k stars 18.58k forks source link

How to run on a linux/google cloud console? #38

Closed asadnewbie closed 1 year ago

asadnewbie commented 2 years ago

Heroku is banning accounts. Can't we run this bot on linux/termux? How to run this bot on linux or google cloud console?

lyfe00011 commented 2 years ago

Heroku is banning accounts. Can't we run this bot on linux/termux? How to run this bot on linux or google cloud console?

2. sudo apt install git curl

3. curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -

4. sudo apt-get install -y nodejs

5. curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null

6. echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list

7. sudo apt-get update && sudo apt-get install yarn

8. git clone https://github.com/lyfe00011/whatsapp-bot-md

9. cd whatsapp-bot-md

  1. yarn install --network-concurrency 1

  2. nano config.env //copy paste SESSION_ID= PREFIX=. STICKER_PACKNAME=LyFE

  3. npm start

This

akhtarbalouch commented 1 year ago

so easy thanks thats very easy for me to isntall but i have one question ...

does downloading speed of files will depend on our system/our internet if we run bot on linux machine???

innocentkiller22 commented 1 year ago

Heroku is banning accounts. Can't we run this bot on linux/termux? How to run this bot on linux or google cloud console?

sudo apt install git curl

curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -

sudo apt-get install -y nodejs

curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null

echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list

sudo apt-get update && sudo apt-get install yarn

git clone https://github.com/lyfe00011/whatsapp-bot-md

cd whatsapp-bot-md

yarn install --network-concurrency 1

nano config.env //copy paste SESSION_ID= PREFIX=. STICKER_PACKNAME=LyFE

npm start

This

It's for Google cloud