-
Notifications
You must be signed in to change notification settings - Fork 0
Setting up a Raspberry Pi B
Brad edited this page Apr 8, 2017
·
6 revisions
Here's how to set the hostname: http://xmodulo.com/how-to-change-hostname-on-linux.html
My pi didn't have git and was out of date:
sudo apt-get update
sudo apt-get install git
Need the media player:
sudo apt-get mplayer
Now get the doorbell projects:
mkdir projects
cd projects
git clone https://github.com/bradxn/doorbell.git
sudo wget -O /usr/local/bin/rmate https://raw.github.com/aurora/rmate/master/rmate
sudo chmod +x /usr/local/bin/rmate
Install an editor or editor extension that supports rmate.
Start the rmate tunnel on the Mac in a terminal:
ssh -R 52698:127.0.0.1:52698 [email protected]
(Change the IP address to match the pi). In VSCode: Press F1 and type Remote: Start server, and press ENTER
Now, on the pi, run:
[sudo] rmate <file-to-edit>