Updated readme

This commit is contained in:
yago 2014-08-05 11:44:15 +02:00
parent 7806289d92
commit 0210764e03
1 changed files with 10 additions and 11 deletions

View File

@ -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.