Updated readme
This commit is contained in:
parent
7806289d92
commit
0210764e03
21
README.md
21
README.md
@ -3,17 +3,16 @@ telegram-bot
|
|||||||
|
|
||||||
Bot for telegram with tg [tg](https://github.com/vysheng/tg).
|
Bot for telegram with tg [tg](https://github.com/vysheng/tg).
|
||||||
|
|
||||||
Requires liblua-socket, there isn't liblua5.2-socket for ubuntu 12.04, but you can use Lua 5.1
|
|
||||||
|
|
||||||
```Shell
|
Requires sudo apt-get install lua-socket:
|
||||||
sudo apt-get remove lua5.2 liblua5.2-dev # If you installed lua5.2
|
|
||||||
sudo apt-get install lua5.1 liblua5.1-dev liblua5.1-socket2 libreadline-dev libconfig-dev libssl-dev fortunes
|
```bash
|
||||||
git submodule update --init --recursive
|
$ sudo apt-get install lua-socket libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev
|
||||||
cd tg
|
$ git submodule update --init --recursive
|
||||||
./configure
|
$ cd tg
|
||||||
make
|
$ ./configure
|
||||||
../launch.sh
|
$ make
|
||||||
|
$ ../launch.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
**!help** for command list.
|
`!help` for command list.
|
||||||
|
|
Reference in New Issue
Block a user