From e81d0c683b60312f691eb08fc3bc97a2b2962b25 Mon Sep 17 00:00:00 2001 From: yago Date: Sat, 11 Oct 2014 16:27:05 +0200 Subject: [PATCH] changed readme --- README.md | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index fea2230..3f434da 100644 --- a/README.md +++ b/README.md @@ -5,21 +5,17 @@ A telegram bot using https://github.com/vysheng/tg. Installation ------------ - -* Requirements ```bash # Tested on Ubuntu 14.04, for other OSs check out https://github.com/vysheng/tg#installation -$ sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev fortune curl luarocks -``` - -* Clone the repo & compile the telegram library -```bash -$ git clone https://github.com/yagop/telegram-bot --recursive && cd telegram-bot/tg +$ sudo apt-get install lua-socket libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev fortune +$ git clone https://github.com/yagop/telegram-bot --recursive +$ cd telegram-bot/tg $ ./configure && make -$ cd .. && ./launch.sh # Will ask you for a telegram enabled number phone & confirmation code. +$ cd .. && ./launch.sh # Will ask you for a phone number & confirmation code. ``` Command list +------------ ``` !help : print command list !ping : bot sends pong