Skip to content

Commit

Permalink
Merge pull request xtrime-ru#116 from Surzhikov/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
xtrime-ru authored Feb 1, 2023
2 parents 35a4566 + e22091b commit 57f3c6f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,12 @@ Fast, simple, async php telegram api server:
## First start
1. Get app_id and app_hash at [my.telegram.org](https://my.telegram.org/).
Only one app_id needed for any amount of users and bots.
1. Create .env file: `cp .env.docker.exaple .env.docker` or `cp .env.exaple .env`
1. Create .env file: `cp .env.docker.example .env.docker` or `cp .env.example .env`
1. Fill app_id and app_hash in `.env.docker` or `.env`.
1. Start TelegramApiServer in cli:
* docker:
1. Start container interactively: `docker-compose run --rm telegram-api-server`
2. If you need to start multiple sessions, create docker-compose.override.yml. Add additional containers there. Use unique ports and session names in command.
* manual:
1. `php server.php --session=session`
1. Authorize your session:
Expand Down

0 comments on commit 57f3c6f

Please sign in to comment.