Skip to main content

Build code and setup on server

For building web data for deployment, you have to run command:

flutter build web --web-renderer html --release

Build file location: <project>/build/web/

After running the command, Go to /build/web/ and copy all files from this folder and upload it to your domain. There are some files are hidden, you have to take them them also like (.htaccess).


You can not deploy admin and web at same domain. In that case you can use subdomain for one. Like you can deploy your admin at and web at And in app code you have to use base url as


Recommended tutorial is below 👇