Proof of concept for starting apps by clicking SVG objects
Make sure, that you can create virtual python environments - this requires the package python3-venv
to be installed on Ubuntu.
Also you need the python bindings for Gio from the package python3-gi
.
git clone https://github.com/seahawk1986/WebAppStarter.git
cd WebAppStarter
python3 -m venv .venv --system-site-packages
. .venv/bin/activate
pip install -U uvicorn fastapi
In the WebAppStarter director run the following command:
.venv/bin/uvicorn app:app --reload
Now you can open the URL http://localhost:8000 in your browser to see the result.