@@ -9,7 +9,7 @@ This is a telegram bot writen in python for mirroring files on the internet to o
9
9
10
10
- Mirroring direct download links to Google Drive
11
11
- Mirroring Mega.nz links to Google Drive (In development stage)
12
- - Mirroring Uptobox.com links to Google Drive (Uptobox account must be premium)
12
+ - Mirroring Uptobox.com links to Google Drive (** NOTE ** : Uptobox account must be premium)
13
13
- Copy files from someone's drive to your drive (Using Autorclone)
14
14
- Download/upload progress, speeds and ETAs
15
15
- Docker support
@@ -144,6 +144,52 @@ Give Star & Fork this repo, then upload **token.pickle** to your forks
144
144
145
145
<p ><a href =" https://heroku.com/deploy " > <img src =" https://www.herokucdn.com/deploy/button.svg " alt =" Deploy to Heroku " /></a ></p >
146
146
147
+ ## Deploying on Heroku using heroku-cli
148
+
149
+ <details >
150
+ <summary><b>Click here for more details</b></summary>
151
+
152
+ - Install [ Heroku cli] ( https://devcenter.heroku.com/articles/heroku-cli )
153
+ - Login into your heroku account with command:
154
+ ```
155
+ heroku login
156
+ ```
157
+ - Create a new heroku app:
158
+ ```
159
+ heroku create <appname>
160
+ ```
161
+ - Select This App in your Heroku-cli:
162
+ ```
163
+ heroku git:remote -a <appname>
164
+ ```
165
+ - Change Dyno Stack to a Docker Container:
166
+ ```
167
+ heroku stack:set container -a <appname>
168
+ ```
169
+ - Add Private Credentials and Config Stuff:
170
+ ```
171
+ git add -f credentials.json token.pickle config.env heroku.yml
172
+ ```
173
+ - Commit new changes:
174
+ ```
175
+ git commit -m "Added Creds."
176
+ ```
177
+ - Push Code to Heroku:
178
+ ```
179
+ git push heroku master --force
180
+ ```
181
+ - Restart Worker by these commands,You can Do it manually too in heroku.
182
+ - For Turning off the Bot:
183
+ ```
184
+ heroku ps:scale worker=0 -a <appname>
185
+ ```
186
+ - For Turning on the Bot:
187
+ ```
188
+ heroku ps:scale worker=1 -a <appname>
189
+ ```
190
+
191
+ </details >
192
+
147
193
## Bot commands to be set in [ @BotFather ] ( https://t.me/BotFather )
148
194
149
195
```
0 commit comments