LogoKikoMart Docs

Publish Web Apps

Build the Store and Customer web apps and deploy them to Appwrite Sites.

The Store App and Customer App can run in the browser. You can host them on Appwrite Sites or any static hosting.

  1. In the app's project folder, build the web release:

    flutter clean && flutter pub get && flutter build web --release
    
  2. Go to the build output folder:

    cd build/web
    
  3. Create the deployment archive:

    tar --exclude=code.tar.gz -czf code.tar.gz .
    
  4. In the Appwrite Console, go to Sites → your site → Deployments → Create deployment → Manual.

  5. Upload code.tar.gz, set Framework to Other, leave the build and install commands empty, set the fallback file to index.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.