Skip to content

Install Instructions

rz91stud edited this page Jul 30, 2018 · 4 revisions

Getting Started

pull the repository located at https://github.com/gluecksbaerchi/NSpM-telegram-bot

Prerequisites

You need to have docker and docker-compose installed an running. You need a telegram account and a telegram client running on mobile or desktop.

Installing

First you will need to get a BOT-TOKEN. Therefore you need to talk to the Botfather, which is another Telegram Bot. There are many Tutorials on how to create a new Bot and get a TOKEN

https://telegram.me/BotFather //adds @botfather to your chats

If you've got the Token you need to add it to the project. There is an environment variable in the docker-compose.yml file.

environment:
      - BOT_TOKEN= [INSERT TOKEN HERE]

Now you can start the project by executing following instruction in your terminal.

cd [PATH_TO_PROJECT]
sudo docker-compose up

To talk to your bot you need to add him to your chatlist

https://telegram.me/[YOUR BOT NAME]

If everythings gone right you are now able to talk to the DBPedia Query Bot.

Clone this wiki locally