mirror of
https://github.com/dyrkin/luxmed-bot.git
synced 2025-12-21 13:23:05 +01:00
Updated readme
This commit is contained in:
@@ -8,16 +8,19 @@ With its help user can book a visit to a doctor, create term monitoring, view up
|
||||
|
||||
It is available by [@luxmedbot](https://telegram.me/luxmedbot)
|
||||
|
||||

|
||||
|
||||
#### To setup your own
|
||||
|
||||
1. create your own telegram bot using [@BotFather](https://telegram.me/botfather)
|
||||
2. add to .bash_profile
|
||||
2. install jdk8
|
||||
3. add to .bash_profile
|
||||
|
||||
```
|
||||
export TELEGRAM_TOKEN="SOME TOKEN"
|
||||
export SECURITY_SECRET="SOME SECRET FOR ENCODING USER PASSWORDS"
|
||||
```
|
||||
3.
|
||||
4.
|
||||
- install **docker**
|
||||
- run using `./docker.sh run`
|
||||
|
||||
|
||||
BIN
screenshot.png
Normal file
BIN
screenshot.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 209 KiB |
@@ -26,7 +26,6 @@ package com.lbs.server
|
||||
import akka.actor.{ActorRef, ActorSystem}
|
||||
import com.lbs.bot.Bot
|
||||
import com.lbs.bot.telegram.TelegramBot
|
||||
import com.lbs.server.actor.Login.UserId
|
||||
import com.lbs.server.actor._
|
||||
import com.lbs.server.lang.Localization
|
||||
import com.lbs.server.service.{ApiService, DataService, MonitoringService}
|
||||
@@ -128,7 +127,7 @@ class BootConfig {
|
||||
actorSystem.actorOf(Pagers(userId, bot, localization).termsPagerProps(originator))
|
||||
|
||||
@Bean
|
||||
def visitsPagerActorFactory: (UserId, ActorRef) => ActorRef = (userId, originator) =>
|
||||
def visitsPagerActorFactory: ByUserIdWithOriginatorActorFactory = (userId, originator) =>
|
||||
actorSystem.actorOf(Pagers(userId, bot, localization).visitsPagerProps(originator))
|
||||
|
||||
@Bean
|
||||
|
||||
Reference in New Issue
Block a user