Skip to content

Commit

Permalink
installer install dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Doug Slater committed Aug 22, 2020
1 parent 1b27d2f commit 724ee3c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions services/install.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# Install dependencies
sudo apt-get install python3-distutils
sudo apt-get install python3-gpiozero
suto apt-get install git
git clone https://github.com/joan2937/pigpio
cd pigpio
git checkout v77
make
sudo make install
cd ..

# Install service
cp treadmill.service /etc/systemd/system/
systemctl daemon-reload
systemctl enable treadmill
Expand Down

0 comments on commit 724ee3c

Please sign in to comment.