From 081c1eaca932497cd5d8dd3a10885873c5b5c818 Mon Sep 17 00:00:00 2001 From: bodqhrohro Date: Mon, 23 Dec 2019 00:31:49 +0200 Subject: [PATCH] Clarify README (TDLib 1.5.0, deploy) --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1d672f8..cb80914 100644 --- a/README.md +++ b/README.md @@ -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.