#Fishy Pi A Rasberry Pi PHP app for remote management of an Aquaponics system.
##Contributors
- Xander Marciniak, System Engineer and Project Management
- Yuliya Atrasevich, PHP Developer
##Hardware Spec
- Raspberry Pi Model A+ (other models may work as well)
- JBtek 8 Channel DC 5V Relay Module
- Raspberry Pi 5MP Camera Board Module
##Software
##System Setup
- Begin with a freshly installed and updated Raspian
- Install Apache:
sudo apt-get install apache2
- Install PHP:
sudo apt-get install php5 libapache2-mod-php5
- Install Git:
sudo apt-get install git
- Install Wiring Pi: GPIO Interface library for the Raspberry Pi
- Clone git project to /var/www (this should create a fishypi directory)
- Install the boot script:
cd /var/www/fishypi/system
sudo cp fishypi-boot.sh /etc/init.d/fishypi-boot.sh
sudo chmod +x /etc/init.d/fishypi-boot.sh
sudo update-rc.d fishypi-boot.sh defaults
##Update Instructions
- SSH into the server:
ssh pi@server-address
- Change to the Fishy Pi directory:
cd /var/www/fishypi
- Pull Chages from git:
sudo git pull origin