Skip to content

Instantly share code, notes, and snippets.

@bgulla
Last active November 12, 2016 21:07
Show Gist options
  • Select an option

  • Save bgulla/49ed18b5c27f780733dfdb7b5731fc4e to your computer and use it in GitHub Desktop.

Select an option

Save bgulla/49ed18b5c27f780733dfdb7b5731fc4e to your computer and use it in GitHub Desktop.
RaspberryPi Scripts needed to get a successful dev environment setup
#
apt-get update ; apt-get upgrade -y
# Install Docker
sudo apt-get install -y apt-transport-https
wget -q https://packagecloud.io/gpg.key -O - | sudo apt-key add -
echo 'deb https://packagecloud.io/Hypriot/Schatzkiste/debian/ wheezy main' | sudo tee /etc/apt/sources.list.d/hypriot.list
sudo apt-get update
sudo apt-get install -y docker-hypriot
sudo systemctl enable docker
#enable gpio
echo "dtoverlay=w1-gpio" >> /boot/config.txt
sudo modprobe w1-gpio
sudo modprobe w1-therm
cd /sys/bus/w1/devices
ls
cd 28-xxxx (change this to match what serial number pops up)
cat w1_slave
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment