diff --git a/README.md b/README.md index 2ece05a6a..14e30b3ff 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ ## ✧✧✧ Video tutorial for Heroku Deploy: -Watch tutorial on YouTube +Watch tutorial on YouTube Here's the Video Tuturial for Deploying and Hosting Miku Bot on Heroku. @@ -155,6 +155,81 @@ https://github.com/clhuang/heroku-buildpack-webp-binaries.git heroku/nodejs ``` +## ✧✧✧ UserLand Deployment Method(Android no root) +#### ✧ Download `UserLand` application from Google Play Store. +#### ✧ Install `Debian` terminal in userland. +#### ✧ After installation follow these commands below one by one (try not to miss any command to avoid error). + +### ✧✧ Need help or having difficulties? +Follow this video tutotial for UserLand. +

+Watch tutorial on YouTube +
+

+ +### UserLand commands: + + +``` +sudo apt update +sudo apt upgrade +sudo apt install bash +sudo apt-get install libwebp-dev +sudo apt install git +sudo apt install nodejs -y +sudo apt install ffmpeg -y +sudo apt install wget +sudo apt install npm +sudo apt install imagemagick + +git clone https://github.com/FantoX001/Miku-MD + +ls +cd Miku-MD +npm i + + +cd +npm install --global yarn +yarn add sharp +sudo apt install curl + + +curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash - + + +sudo apt-get install -y nodejs +yarn add sharp +cd Miku-MD +npm i +npm start + +``` +- Note in `git clone ` section your can use Your customised bot's github link too (For that make sure you [Forked](https://github.com/FantoX001/Miku-MD/fork) this repo and changed owner number in `config.js`). +- This method will work on most other bots too. + +#### ✧ To stop a bot in Userland +- Tap on `CTRL` button then tap on `C` from keyboard + +#### ✧ To start bot again ( While you are inside Miku-MD folder {use `cd Miku-MD` to get inside the folder} ) +- `npm start` +or use +- `yarn start` + + +#### ✧ Start bot after UserLand session is cleared +``` +cd Miku-MD +npm start +``` +#### ✧ What to do if you logged out from the WhatsApp linked device section and want to get new qr to login +``` +cd Miku-MD +rm session.json +npm start +``` +#### Note as UserLand is a physical server so you must keep on your internet connection to make sure bot works. + ## ✧✧✧ Join My Whatsapp Group for Support @@ -206,6 +281,7 @@ npm start ## ✧✧✧ To keep Miku alive without internet 24/7 (Termux, Vs Code etc. physical deploy only) +### 24*7 active internet connectivity is nust. ``` npm i -g pm2 && pm2 start index.js && pm2 save && pm2 logs ```