2.3 KiB
2.3 KiB
AZA – Go-Live Checkliste (aza-medwork.ch)
1. Server
- VPS bereitstellen (Ubuntu 22.04, Docker + Compose installiert)
- Ports 80 und 443 offen
- AZA-Projekt auf Server kopieren
2. DNS
- A-Record:
aza-medwork.ch→ Server-IP - Propagierung pruefen:
ping aza-medwork.ch
3. Stripe Dashboard
- Produkt "AZA Praxis" anlegen: Lookup-Key
aza_basic_monthly, CHF 89/Monat - Produkt "AZA Team" anlegen: Lookup-Key
aza_team_monthly, CHF 199/Monat - Webhook anlegen:
https://aza-medwork.ch/stripe/webhook - Events:
checkout.session.completed,customer.subscription.updated,customer.subscription.deleted - Signing-Secret (
whsec_...) notieren
4. Secrets setzen
In deploy/.env eintragen:
MEDWORK_API_TOKENS(starkes Zufallstoken)STRIPE_SECRET_KEY(sk_live_...)STRIPE_WEBHOOK_SECRET(whsec_...)AZA_ADMIN_TOKEN(starkes Zufallstoken)- Pruefen:
STRIPE_SUCCESS_URL,STRIPE_CANCEL_URL,STRIPE_PORTAL_RETURN_URLzeigen aufhttps://aza-medwork.ch/... - Pruefen:
AZA_DOMAIN=aza-medwork.ch
5. Starten
cd deploy
docker compose --profile proxy up -d --build
docker compose ps
- Beide Container laufen (
aza-api,aza-caddy)
6. Routen testen
https://aza-medwork.ch/health→{"status":"ok"}https://aza-medwork.ch/web/index.html→ Landing-Page mit Pricinghttps://aza-medwork.ch/web/download.html→ Download-Seitehttps://aza-medwork.ch/release/version.json→ Version + Download-URLhttps://aza-medwork.ch/billing/success→ Success-Seite mit Download-Button- HTTPS-Zertifikat gueltig (Caddy/Let's Encrypt)
7. Kauf-Flow testen
- Landing-Page oeffnen → "Abonnement starten" klicken
- Stripe Checkout oeffnet sich
- Testkauf mit Stripe-Testkarte abschliessen
- Success-Seite erscheint mit Download-Link
- Installer herunterladen
8. Desktop-App testen
- Installer ausfuehren
- App startet, Lizenzstatus wird geprueft
- Systemstatus: alle Pruefpunkte gruen
- "Abonnement" oeffnet Stripe Billing Portal
9. Abschluss
- Stripe auf Live-Modus schalten (keine Testkarten mehr)
- Webhook-Test in Stripe Dashboard: 200 OK
- Landing-Page-URL teilen / veroeffentlichen