Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
f1mishutka committed Apr 10, 2024
1 parent 5cb73d2 commit addd11a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,17 @@ Before setting up `mt-tgadmin` you need to register your bot with **@BotFather**
* Add created bot to your group.
* Obtaining group's **chatID**: Open [@RawDataBot](https://t.me/rawdatabot) and follow it instructions.

You will need bot's **token** and **chatID** to setup `mt-tgadmin`:
### Install

You will need bot's **token** and **chatID** to run `mt-tgadmin`.

* Unpack archive for you platform to desired location (there is just one executable file in archive).
* Run `mt-tgadmin init` to create simple config to start with.
* Open created file `.bot.yml` with text editor and edit settings. Example settings are in [.bot.EXAMPLE.yml](https://github.com/mitoteam/mt-tgadmin/blob/main/.bot.EXAMPLE.yml).
* Run `mt-tgadmin run` to check the setup. You should be able to open WebGUI at this point. Press `Ctrl + C` to stop it if everything is OK.
* Run `mt-tgadmin install` to register it as daemon.
* Consider using nginx or other webserver as reverse proxy to use TLS (HTTP**S**) and other extended http features.

### Upgrade

* Just unpack newer version binary and restart process (or service).

0 comments on commit addd11a

Please sign in to comment.