The Store App and Customer App can run in the browser. You can host them on Appwrite Sites or any static hosting.
-
In the app's project folder, build the web release:
flutter clean && flutter pub get && flutter build web --release -
Go to the build output folder:
cd build/web -
Create the deployment archive:
tar --exclude=code.tar.gz -czf code.tar.gz . -
In the Appwrite Console, go to Sites → your site → Deployments → Create deployment → Manual.
-
Upload
code.tar.gz, set Framework to Other, leave the build and install commands empty, set the fallback file toindex.html, then deploy.
Repeat these steps for each web app (Store and Customer).
After deploying, add the site's domain as a Web platform, otherwise the app can't reach Appwrite.
