-
Notifications
You must be signed in to change notification settings - Fork 0
Server
Baytae Tistear edited this page Jul 7, 2026
·
4 revisions
The production server hosts the Discord bot, Flask dashboard, database, media storage, update tooling, and maintenance scripts.
/home/ubuntu/discord-screenshot-bot
-
sdac-bot.serviceruns the Discord bot. - The Flask dashboard uses the same backend/source of truth.
-
sdac-doctoris used for install and health checks.
Discord bot and OAuth credentials belong in the server .env file:
DISCORD_TOKENDISCORD_CLIENT_IDDISCORD_CLIENT_SECRETDISCORD_REDIRECT_URI
- Keep backups enabled and visible from the dashboard.
- Track last restart, last backup, database health, and release state.
- Run smoke checks before pushing release changes.
- Use LF line endings for Linux scripts so commands such as
sudo sdac-doctordo not fail withbash\r.
- Update this page when deployment,
.env, service, database, backup, release, or doctor behavior changes.