Repository navigation
How do I run my own server? #453
Answered
by
lumenpearson
lumenpearson
asked this question in
Q&A
|
How do I run the server and the bot for my own classes, and build an APK that points at it? |
Answered by
lumenpearson
Oct 16, 2026
Replies: 1 comment
|
This answer condenses docs/deploy.md and docs/build.md. The person who deploys a server is its operator. Choose
For one class and one person who runs it, docs/deploy.md recommends the VPS. Your own servergit clone https://github.com/lumenpearson/lessons && cd lessons
cp server/.env.example .env # beside docker-compose.yml; fill in BOT_TOKEN and OWNER_IDS
echo "POSTGRES_PASSWORD=$(python3 -c 'import secrets; print(secrets.token_hex(24))')" >> .env
docker compose up -d --build
Vercel + Neon
curl -X POST "https://api.telegram.org/bot<TOKEN>/setWebhook" \
-d "url=https://<host>/api/v1/telegram/webhook" \
-d "secret_token=<WEBHOOK_SECRET>" \
-d "drop_pending_updates=true"
Host target (beta)
For every option
The APK
Not built yet
For follow-ups, open a new Q&A question. Name the option, the commit and the exact error. Write every setting's value as |
0 replies
Answer selected by
lumenpearson
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This answer condenses docs/deploy.md and docs/build.md. The person who deploys a server is its operator.
Choose
migrateservice runs them on everyupFor one class and one person who runs it, docs/deploy.md recommends the VPS.
Your ow…