Last active
February 11, 2017 16:20
-
-
Save mirhec/55452f3e84d34472ffa40737d3128a78 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
cd ~ | |
sudo apt-get update | |
sudo apt-get install netatalk git python-dev python-pip python-rpi.gpio -y | |
sudo pip install Flask | |
git clone git://git.drogon.net/wiringPi | |
cd wiringPi | |
./build | |
cd .. | |
git clone https://github.com/mirhec/raspi-http-switch.git | |
sudo cp ./raspi-http-switch/raspi-http-switch.service /etc/systemd/system | |
sudo systemctl enable raspi-http-switch.service | |
sudo systemctl start raspi-http-switch.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run with
https://goo.gl/jHgGBz | /bin/sh