Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs-chat.die-coaching-akademie.de/llms.txt

Use this file to discover all available pages before exploring further.

Production currently runs on Hetzner Cloud.
SettingValue
ServerHetzner Cloud CX23
OSUbuntu 24.04
Domainchat.die-coaching-akademie.de
App path/root/dca_ChatBotFAQ
venv/root/dca_ChatBotFAQ/venv
App bind127.0.0.1:8000
Process managersystemd chatbot.service
Reverse proxyNginx
HTTPSCertbot / Let’s Encrypt

Deploy update

1

Pull latest code

cd /root/dca_ChatBotFAQ
git pull
2

Update dependencies

source venv/bin/activate
pip install -r requirements.txt
3

Restart service

systemctl restart chatbot
4

Verify

systemctl status chatbot
curl https://chat.die-coaching-akademie.de/health

systemd service shape

WorkingDirectory=/root/dca_ChatBotFAQ
EnvironmentFile=/root/dca_ChatBotFAQ/.env
ExecStart=/root/dca_ChatBotFAQ/venv/bin/uvicorn app:app --host 127.0.0.1 --port 8000
Restart=always

Debug commands

journalctl -u chatbot -f
systemctl status chatbot
nginx -t
systemctl restart nginx

Content sync

cd /root/dca_ChatBotFAQ
source venv/bin/activate
python sync_website_content.py
systemctl restart chatbot
Do not commit the production .env. It lives only on the server.