mirror of
https://github.com/dyrkin/luxmed-bot.git
synced 2025-12-21 13:23:05 +01:00
37 lines
973 B
Markdown
37 lines
973 B
Markdown
# Luxmed Booking Service
|
|
|
|
[](https://travis-ci.org/dyrkin/luxmed-booking-service)
|
|
|
|
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](https://telegram.me/luxmedbot)
|
|
|
|
#### Screenshot
|
|

|
|
|
|
#### To setup your own telegram bot
|
|
|
|
1. create telegram bot using [@BotFather](https://telegram.me/botfather)
|
|
2. install jdk8
|
|
3. add to .bash_profile
|
|
|
|
```
|
|
export TELEGRAM_TOKEN="SOME TOKEN"
|
|
export SECURITY_SECRET="SOME SECRET FOR ENCODING USER PASSWORDS"
|
|
```
|
|
4.
|
|
- install **docker**
|
|
- run using `./docker.sh run`
|
|
|
|
**or**
|
|
|
|
- install postgres and create db **lbs** with login **lbs** and password **lsb123**
|
|
- run using `./gradlew bootRun`
|
|
|
|
5. send `/start` command to your bot
|
|
|
|
|
|
|