Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubha Pratim Biswas authored Dec 17, 2022
1 parent 7a5aa68 commit 44b8c34
Showing 1 changed file with 77 additions and 1 deletion.
78 changes: 77 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@

## ✧✧✧ Video tutorial for Heroku Deploy:

<a href="https://youtu.be/fZdM7Ahb4JE"><img src="https://i.ibb.co/71mYRh4/116-1161192-podcast-subscribe-listen-button-youtube-sign-hd-png.png" alt="Watch tutorial on YouTube" border="0" width="160"></a>
<a href="https://youtu.be/fZdM7Ahb4JE"><img src="https://i.ibb.co/71mYRh4/116-1161192-podcast-subscribe-listen-button-youtube-sign-hd-png.png" alt="Watch tutorial on YouTube" border="0" width="150"></a>

Here's the Video Tuturial for Deploying and Hosting Miku Bot on Heroku.

Expand Down Expand Up @@ -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.
<p align='left'>
<a href="https://youtu.be/elZmQiuscik"><img src="https://i.ibb.co/71mYRh4/116-1161192-podcast-subscribe-listen-button-youtube-sign-hd-png.png" alt="Watch tutorial on YouTube" border="0" width="150"></a>
<br>
</p>

### 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 <my bot's repo>` 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

Expand Down Expand Up @@ -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
```
Expand Down

0 comments on commit 44b8c34

Please sign in to comment.