View the standard Raspberry Pi pinout diagram
sudo apt-get install git-core
sudo mkdir git //optional, to keep git files in one place
cd git
sudo git clone https://github.com/skiwithpete/relaypi.git
sudo apt-get install python-pip
pip install paho-mqtt
sudo git clone https://github.com/cbienlein/IDontKnowWhatImDoing.git