diff options
author | bodqhrohro <bodqhrohro@gmail.com> | 2019-12-23 01:31:49 +0300 |
---|---|---|
committer | bodqhrohro <bodqhrohro@gmail.com> | 2019-12-23 01:31:49 +0300 |
commit | 081c1eaca932497cd5d8dd3a10885873c5b5c818 (patch) | |
tree | 41b8c5405206b9dd4d0f9d6b8bd2edfd82d2a45d /README.md | |
parent | 083f207f7c07da745a9f8564233b11e15093793a (diff) |
Clarify README (TDLib 1.5.0, deploy)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -8,12 +8,21 @@ The configuration file is compatible with Zhabogram 2.0, so you can easily copy Prerequisites: Go links the binary against the `glibc` version present in the system where the build process happens, so it should be less or equal to the version of `glibc` in the system where Telegabber will run. -* Build TDLib according to [TDLib build instructions](https://tdlib.github.io/td/build.html). +* Build TDLib according to [TDLib build instructions](https://tdlib.github.io/td/build.html). The 1.5.0 version is needed currently; for switching to it, run this after `cd td`: +``` +git fetch --all --tags --prune +git checkout tags/v1.5.0 +``` * Install Go (tested with 1.13, but may work with earlier versions too). * Open the source dir in a new shell (to make sure that `$GOPATH` works) and run `make`. Dependencies will be installed automatically. After a successful build, you get a single binary to deploy on your server. +In the deploy directory, you need only three files: +* `telegabber` (the binary) +* `config.yml` +* `config_schema.json` (copy it from the repo) + ### Installation ### First of all, you need to create component listener on your Jabber server. |