Deployment¶
Flutter Mobile¶
Android¶
cd pharmanet
# Build APK
flutter build apk --release
# Build App Bundle (Play Store)
flutter build appbundle --release
iOS¶
cd pharmanet
# Build iOS
flutter build ios --release
# Open in Xcode for archive & upload
open ios/Runner.xcworkspace
Web Apps¶
Admin Web¶
Seller Web¶
Environment Configuration¶
Ensure production environment variables are set in your hosting platform:
| Variable | Apps | Source |
|---|---|---|
NEXT_PUBLIC_SUPABASE_URL |
Admin, Seller | Supabase project |
NEXT_PUBLIC_SUPABASE_ANON_KEY |
Admin, Seller | Supabase project |
SUPABASE_SERVICE_ROLE_KEY |
Admin, Seller (server) | Supabase project |
CHAPA_SECRET_KEY |
Admin, Seller | Chapa dashboard |
NEXT_PUBLIC_APP_URL |
Admin, Seller | Your domain |
CI/CD¶
The project uses GitHub Actions. Pipeline configuration is at .github/workflows/ in each repository.
Related¶
- Local Setup — Development environment
- Database Setup — Production database