Skip to content

Latest commit

 

History

History
39 lines (33 loc) · 1.32 KB

README.md

File metadata and controls

39 lines (33 loc) · 1.32 KB

#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

  1. Begin with a freshly installed and updated Raspian
  2. Install Apache: sudo apt-get install apache2
  3. Install PHP: sudo apt-get install php5 libapache2-mod-php5
  4. Install Git: sudo apt-get install git
  5. Install Wiring Pi: GPIO Interface library for the Raspberry Pi
  6. Clone git project to /var/www (this should create a fishypi directory)
  7. 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

  1. SSH into the server: ssh pi@server-address
  2. Change to the Fishy Pi directory: cd /var/www/fishypi
  3. Pull Chages from git: sudo git pull origin