Scripts created by Ollie Bennett to run on @Ollie_RPi.
-
Boot the Pi headless by adding a
ssh
file in the SD card's boot partition. -
SSH in using
ssh pi@raspberrypi
; password israspberry
. Change that withpasswd
. -
Update everything with
sudo apt-get update && sudo apt-get full-upgrade
-
Install
git
withsudo apt-get install git
. -
Enable camera via
sudo raspi-config
->Interfacing Options
->Camera
. -
Clone this repo with
git clone --recurse-submodules https://github.com/olliebennett/raspberry-pi-scripts.git
-
Change into the directory;
cd raspberry-pi-scripts
-
Install Flask;
sudo apt-get install python3-flask
-
Start the server with
sudo ./flask_server.py
-
Visit the page via http://raspberrypi/!
-
Install the
picamera
dependency.sudo apt-get install python3-picamera
-
Run the server again as outlined above.