/luxmed-bot

Non official telegram bot for Portal Pacjenta LUX MED

Primary LanguageScalaMIT LicenseMIT

Luxmed Bot

Build Status Docker Hub

Non official Telegram bot for Portal Pacjenta LUX MED.

Overview

Luxmed Bot can help you to book a visit to a doctor, create term monitoring, view upcoming appointments and visit history.

It is available here @luxmedbot, but you can install your instance.

Screenshot

Installation

  1. Create telegram bot using @BotFather
  2. Install docker and docker-compose (install docker-machine if you are on Mac)
  3. Depending on your platform download:
  4. Download secrets.env.template to the same folder and rename it to secrets.env
  5. Edit secrets.env by specifying your TELEGRAM_TOKEN and SECURITY_SECRET
  6. Start the application by running commands:
    $ docker-compose pull
    $ docker-compose up
  7. Send /start command to your bot

Develop run

  1. Run docker-compose up to launch PostgreSQL database
  2. Set env TELEGRAM_TOKEN=YOUR_TOKEN
  3. Run Boot.scala app