From 72280c7e8e6d5866d8963f3062d6392adf5f1f0d Mon Sep 17 00:00:00 2001 From: JelleBuning <37436672+JelleBuning@users.noreply.github.com> Date: Thu, 8 Jun 2023 14:31:56 +0200 Subject: [PATCH] Update _index.en.md --- content/dev/build/web/_index.en.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/content/dev/build/web/_index.en.md b/content/dev/build/web/_index.en.md index 3df6ee6..3e19118 100644 --- a/content/dev/build/web/_index.en.md +++ b/content/dev/build/web/_index.en.md @@ -38,6 +38,16 @@ cd .. flutter run -d chrome ``` +## How to build release on linux +If you want to host the webclient you should build a release before running it on a webserver. +To do so follow the steps shown above except the 'flutter run -d chrome' command. Continue with the following commands: +```sh +flutter build web --release +cd build/web +# You could use any server, just an example +python -m http.server 8000 +``` + > Currently, yuv converter and vp9 are the bottleneck ## How to build with Docker