An example of a minimal Flet app.
pip3 install -r requirementsflet run [app_directory]Based on Web Self Hosting
Edit and make a link to flet.service file
cd /etc/systemd/system
sudo ln -s ${absolute-path-to}/flet-app/documentation/flet.service
sudo systemctl start flet
sudo systemctl enable flet
sudo systemctl status fletNote: Have Nginx installed
Copy conf file to Nginx configs
sudo cp ${absolute-path-to}/flet-app/documentation/todo.conf /etc/nginx/sites-available/todoStart nginx
sudo service nginx start