Updated readme

This commit is contained in:
Eugene Zadyra
2018-07-18 12:33:09 +02:00
parent fd16b91291
commit 1602b29320
3 changed files with 6 additions and 4 deletions

View File

@@ -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)
![Screenshot](screenshot.png)
#### 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 KiB

View File

@@ -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