Skip to content

Commit

Permalink
docs: update heroku deployment instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
EverythingSuckz committed Dec 13, 2023
1 parent 5b5848b commit ed94b48
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,16 @@
## How to make your own

### Deploy to Heroku

> [!NOTE]
> You'll have to [fork](https://github.com/EverythingSuckz/TG-FileStreamBot/fork) this repository to deploy to Heroku.
> Also don't forget to choose the `golang` branch in the deployment page.
Press the below button to fast deploy to Heroku

[![Deploy To Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)

[Click Here](https://devcenter.heroku.com/articles/config-vars#using-the-heroku-dashboard) to know how to edit Variables
[Click Here](https://devcenter.heroku.com/articles/config-vars#using-the-heroku-dashboard) to know how to add / edit [environment variables](#required-vars) in Heroku.

<hr>

Expand Down Expand Up @@ -242,6 +247,10 @@ The easiest way to generate a session string is by running
./fsb session --api-id <your api id> --api-hash <your api hash>
```

<img src="https://github.com/EverythingSuckz/TG-FileStreamBot/assets/65120517/b5bd2b88-0e1f-4dbc-ad9a-faa6d5a17320" height=300>

<br><br>

This will generate a session string for your user account using QR code authentication. Authentication via phone number is not supported yet and will be added in the future.

## Contributing
Expand Down
5 changes: 3 additions & 2 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
"telegram",
"web",
"go",
"gola",
"FileToLink",
"golang",
"file-streaming",
"file-to-link",
"TG-FileStreamBot"
],
"repository": "https://github.com/EverythingSuckz/TG-FileStreamBot",
Expand Down

0 comments on commit ed94b48

Please sign in to comment.