Deployment
Zielbild
Kurzfristig: interne Android Beta (Dev Client / APK).
Spaeter: Store-Release fuer Android und iOS via EAS.
Lokaler Build (Android Dev)
npx expo run:androidnpx expo start --dev-client
EAS Vorbereitung
- EAS Login:
eas login
- Projekt konfigurieren:
eas build:configure
- Build Profile in
eas.jsonpruefen:developmentpreviewproduction
EAS Build Beispiele
- Development:
eas build --profile development --platform android
- Preview:
eas build --profile preview --platform android
- Production:
eas build --profile production --platform all
Supabase Deployment
Migrationen
- per SQL Editor ausfuehren oder via Supabase CLI Workflow.
Edge Function
- Secret setzen:
supabase secrets set OPENAI_API_KEY=<key>
- Deploy:
supabase functions deploy analyze-spot
GitHub Pages (docs-site)
Die Docusaurus Site wird ueber den Workflow docs-site/.github/workflows/deploy.yml bei Push auf main deployed.
Voraussetzungen im documentation Repo:
Settings -> Pages -> Build and deployment -> Source: GitHub Actions- Schreibrechte fuer GitHub Actions (Standard fuer Repository Workflows)
Go-Live Check vor Beta
- Auth Signup/Login laeuft
- Map zeigt approved Spots
- Submit erstellt pending Spot
- Moderation kann pending -> approved/rejected setzen
- Feed Create/Like/Comment laeuft
- KI Analyse liefert verwertbare Felder