Skip to content

olliebennett/raspberry-pi-scripts

Repository files navigation

Raspberry Pi Scripts

Scripts created by Ollie Bennett to run on @Ollie_RPi.

Initial Pi Setup

  • Boot the Pi headless by adding a ssh file in the SD card's boot partition.

  • SSH in using ssh pi@raspberrypi; password is raspberry. Change that with passwd.

  • Update everything with sudo apt-get update && sudo apt-get full-upgrade

  • Install git with sudo 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

Web Server

  • Install Flask;

    sudo apt-get install python3-flask
  • Start the server with

    sudo ./flask_server.py
  • Visit the page via http://raspberrypi/!

Camera Streaming

  • Install the picamera dependency.

    sudo apt-get install python3-picamera
  • Run the server again as outlined above.

About

Raspberry Pi Scripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •