2018-12-11 15:34:11 +01:00
2018-12-09 23:31:02 +01:00
2018-12-10 22:38:47 +01:00
2018-05-31 00:28:58 +02:00
2018-05-31 00:28:58 +02:00
2018-12-05 18:08:46 +01:00
2018-05-31 00:28:58 +02:00
2018-05-31 00:28:58 +02:00
2018-12-10 22:38:47 +01:00
2018-07-18 13:18:40 +02:00
2018-05-31 00:28:58 +02:00

Luxmed Booking Service

Build Status Docker Hub

Non official Telegram bot for Portal Pacjenta LUX MED.

With its help user can book a visit to a doctor, create term monitoring, view upcoming visits and visit history.

It is available here @luxmedbot

Screenshot

To setup your own telegram bot

  1. create telegram bot using @BotFather
  2. install docker and docker-compose
  3. create a docker volume and name it lbs:
    $ docker volume create lbs
    
  4. find physical location of the volume:
    docker volume inspect lbs
    
    this will produce the following output:
    [
        {
            "CreatedAt": "2018-12-05T14:32:35Z",
            "Driver": "local",
            "Labels": {
                "com.docker.compose.project": "docker",
                "com.docker.compose.version": "1.23.1",
                "com.docker.compose.volume": "lbs"
            },
            "Mountpoint": "/var/lib/docker/volumes/lbs/_data",
            "Name": "lbs",
            "Options": null,
            "Scope": "local"
        }
    ]
    
  5. using value from Mountpoint create config folder:
    mkdir /var/lib/docker/volumes/lbs/_data/config
    
  6. create env file in that folder
    touch /var/lib/docker/volumes/lbs/_data/config/env
    
  7. edit the file by adding TELEGRAM_TOKEN and SECURITY_SECRET
    nano /var/lib/docker/volumes/lbs/_data/config/env
    
    SECURITY_SECRET=randomly generated string
    TELEGRAM_TOKEN=12345678:telegram token
    
  8. download docker-compose.xml
  9. go to folder with downloaded docker-compose.xml and run command:
    $ docker-compose up
    
  10. send /start command to your bot
Description
Non official telegram bot for Portal Pacjenta LUX MED
Readme MIT 90 MiB
Languages
Scala 99.7%
Shell 0.2%
Dockerfile 0.1%