- This has the code to run the cameara and flask server and show it on local website.
-
Copy this script to
/etc/systemd/system
.`sudo cp livecam.service /etc/systemd/system`
-
Enable this service at boot.
`sudo systemctl enable livecam`
- Replace the 'xxyyzz' with your telegram API token.
- After that rename and savve this file as config.py.