Hosting Mirror Bot Guide

Hosting Mirror Bot Guide

PeruNoob

• Heroku WorkFlow Guide Here

• Heroku Guide

Heroku CLI Method

1- Install Heroku-Windows OR Linux.

2- Install Git On Linux Or Git Bash If Using Windows.

3- Type- heroku login -on Terminal To Login On Heroku.

4- Type- git clone https://github.com/harshpreets63/Mirror-Bot -on Terminal.

5- Type- cd Mirror-Bot -on Terminal.

6- Rename config_sample.env To config.env.
Note- Remove First 2 Lines From Config.

7- Fill All Needed Configs Correctly, Explained Here.

8- Add token.pickle(Needed) And Accounts(Optional) Folder If Using Service Accounts.

9- Type Following Commands:-

1- heroku create appname

2- heroku git:remote -a appname

3 -heroku stack:set container -a appname

4- git add .

5- git add -f token.pickle config.env drive_folder

5.1- git add -f token.pickle config.env drive_folder accounts accounts/* #SA

6- git commit -m "Initial"

7- git push heroku

Note- Appname Should Be Unique.

9- Delete app Once And Host Bot Again With Same Name And Steps Mentioned Above To Avoid Suspension Of App.

11- After Successful ReBuild Turn On Dyno Using Heroku Website By Visiting Resources Option Of The App.


Check Auto Host Script Here


Report Page