summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Morozenkov <omorozenkov@gmail.com>2015-08-12 14:39:37 +0300
committerOleg Morozenkov <omorozenkov@gmail.com>2015-08-12 14:39:37 +0300
commitf94a2dd6c2832c6ba0379d4c8eec367b25a4a2e2 (patch)
tree26e19343a8addf7a7e18c624700efb79e3713ad2
parentadf1a76a439c627346960100c17de47920306bc4 (diff)
Update README.md
-rw-r--r--README.md4
-rw-r--r--include/tgbot/tgbot.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/README.md b/README.md
index 7e7af57..305c275 100644
--- a/README.md
+++ b/README.md
@@ -10,7 +10,7 @@ Documentaion is located [here](http://reo7sp.ru/proj/tgbot-cpp/doc)
## Compilation
-Firstly you need to install some dependencies. You have to have Boost library at the runtime and CMake at the compilation step to be able to use this library. On Debian-based distibutives you can do it with these commands:
+Firstly you need to install some dependencies such as Boost and build tools such as CMake. On Debian-based distibutives you can do it with these commands:
```sh
sudo apt-get install g++ make binutils cmake libssl-dev libboost-system-dev libboost-iostreams-dev libboost-test-dev
```
@@ -25,6 +25,8 @@ sudo make install
That's all. All you have to do now is just link compiled library to your project.
+If you want, you can also use Docker to build and run your bot. Just set the base image of your's Dockerfile to reo7sp/tgbot-cpp.
+
## Samples
Simple echo bot which sends everything it recieves:
diff --git a/include/tgbot/tgbot.h b/include/tgbot/tgbot.h
index 21224c8..d393fc7 100644
--- a/include/tgbot/tgbot.h
+++ b/include/tgbot/tgbot.h
@@ -84,6 +84,8 @@
*
* That's all. All you have to do now is just link compiled library to your project.
*
+ * If you want, you can also use Docker to build and run your bot. Just set the base image of your's Dockerfile to reo7sp/tgbot-cpp.
+ *
* @section Samples
* All samples are located [here](https://github.com/reo7sp/tgbot-cpp/tree/master/samples)
*