- install dokku container
- create dokku app
- install redis plugin
- link redis to the app
dokku redis:link %your_redis_base% %your_app%
- create your sentry for monitoring (or remove it from the code)
- create your userbot and get its api_hash and api_id. login via app/login.py to your telegram account and save a session string.
- create your vas3k app and get a jwt token
- jwt token is called Service Token in the club
- you don't need a callback api for this app
- override variables: SENTRY_DSN, API_HASH, API_ID, SESSION_STRING, JWT_TOKEN
- deploy the app
- deploy via git:
git remote add dokku dokku@%your_dokku_host%:%your_app%
not dokky.me
- deploy via git:
- run app/login_simplified.py to get a session string.
- usage:
python3 app/login_simplified.py api_id api_hash