15 lines
628 B
Markdown
15 lines
628 B
Markdown
# telemovris
|
|
|
|
## Installation
|
|
|
|
First build the image with `docker-compose build`.
|
|
|
|
Set up environment variables in `.env` file, get them from https://my.telegram.org/apps. Copy `.env.example` and modify it.
|
|
|
|
Once built, run once: `docker run -it --env-file .env -v $PWD/data:/data telemovris python3 /app/telemovris.py`, it will ask for your phone number (use country code, like `+34666123456`), enter it and follow instructions. When finished, quit with `CTRL+c`. You should now see `telemovris.session` and `telemovris.session-journal` files under `data` folder.
|
|
|
|
You're now all set up.
|
|
|
|
## Run
|
|
|
|
Execute `docker-compose up -d` |