Install all the dependencies. Setup a systemd service on startup to run main.py. This will start the server once it is booted up Flask and pyttsx3 is requiered.
Install Nginx server. Setup the main page to link to the static build. Proxy every call to the /api url to the Flask server running with systemd.
This programm runs with voices from mbrola. The voice used is DE4. (Website Link)[http://tcts.fpms.ac.be/synthesis/mbrola.html]
Install Chromium and setup the Kioskmode for it. /home/pi/.config/lxsession/LXDE_pi/autostart here you can setup a auto start of Chromium and deactivate the mouse clutter