Pushing existing body of work.
This commit is contained in:
8
setup.sh
Normal file
8
setup.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
# Install base OS (Debian) packages.
|
||||
apt update && apt upgrade -y && apt install python3-dev python3-pip python3-psycopg2 libgpiod2 -y
|
||||
|
||||
# Install Python modules.
|
||||
pip3 install RPi.GPIO psycopg2 adafruit-circuitpython-dht
|
||||
|
||||
# Start the python script.
|
||||
/usr/bin/python3 main.py
|
||||
Reference in New Issue
Block a user