1st - apt-get install python3-flask
In the /home/pi/Documents/camWebServer
To Install: Create directory "Documents" - "camWebServer" , "camWebServer" - "templates" , "camWebServer"- "static"
in the camWebServer folder put "camera_pi.py" and "appCam.py"
in the templates folder put "index.html"
in the static folder put "style.css"
Now, run the python script on the Terminal:
sudo python3 appCam.py
To make it auto start at boot Edit: /etc/rc.local Put sudo python3 /home/pi/Documents/camWebServer/appCam.py &
Go to any browser in your network and enter with https://YOUR_Raspberry_IP (for example, 192.168.1.137)
NOTE: If you are not sure about your Raspberry Pi Ip address, run on your terminal:
ifconfig