Using p5js as a PWA as per these steps > https://medium.com/p/d5b9d0a1d726
How to set-up the hotspot to start at boot
- Start the WiFi hotspot manually from the toolbar
- Use "nmcli connection" to discover the UUID of this network
- Use "nmcli connection show UUID" to show the properties of this network
- Use "nmcli connection modify UUID connection.autoconnect yes connection.autoconnect-priority 100" to have it start automatically
- Use "nmcli connection show UUID" to make sure these values were set
How to make the web-server a service
- sudo ln -s /home/pi/hotdata/hotdata.service /etc/systemd/system/hotdata.service
- sudo systemctl daemon-reload
- sudo systemctl start hotdata
- sudo systemctl enable hotdata
- sudo journalctl -fu hotdata