Skip to content

raspbian lite

mhupfauer edited this page May 24, 2021 · 2 revisions

This will guide you on how to get picure up and running on a vanilla raspbian-lite.

Enable I2C

sudo raspi-config
4 - Interface options
P5 - Enable I2C
Yes
OK

Python and other software dependencies

sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install python3-pip git screen
cd ~
git clone https://github.com/mhupfauer/picure.git
cd picure
sudo pip3 install .
screen -d -m gunicorn -w 2 -b 0.0.0.0:5000 "picure:create_app()"