Skip to content
Discussion options

You must be logged in to vote

#273's sub-project 5 plans to take the address from the invite link or class code's QR.

Yes: each deployment is a separate server with its own bot, database and secrets, and can carry any number of classes, suiting schools that need different owners, separate data or a different operator.

  • One deployment, many classes. Each class has its own administrators and roles; every OWNER_IDS account owns every class on it.
  • Separate deployments share nothing. Each has:
    • its own BOT_TOKEN (Telegram gives a bot's updates to one consumer);
    • its own DATABASE_URL, WEBHOOK_SECRET, CRON_SECRET and DIARY_SECRET;
    • its own cron job and https:// address.
  • A phone talks to one server at a time.
    • «Адрес сервера»…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lumenpearson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area:server for:operator Whoever runs a server or builds and signs an APK of their own
1 participant