sudo apt-get update
sudo apt-get upgrade
sudo apt-get install imagemagick php5 php5-cli git
git clone https://github.com/bigdinotech/photobooth.git
cd photobooth
cd www
cd scripts
sudo chmod +x *
cd
sudo wget raw.github.com/gonzalo/gphoto2-updater/master/gphoto2-updater.sh
sudo chmod +x gphoto2-updater.sh
sudo ./gphoto2-updater.sh
sudo apt-get install php-pear
pear install Mail-1.3.0
pear install Mail_Mime
pear install Net_SMTP
Follow the instructions found here: http://www.instructables.com/id/Raspberry-Pi-photo-booth-controller/step3/Connect-the-Printer/
8) Setup dropbox uploader (http://raspi.tv/2013/how-to-use-dropbox-with-raspberry-pi)
If you don't have one already create a dropbox account https://www.dropbox.com/
cd
git clone https://github.com/andreafabrizi/Dropbox-Uploader.git
On your browser https://www.dropbox.com/developers/apps
Create app -> Dropbox API -> App folder
give your app a name
Generate access token and copy it to your clipboard
cd Dropbox-Uploader
./dropbox_uploader.sh
paste the generate access token
cp dropbox_uploader.sh ~/photobooth/www/scripts/dropbox_uploader.sh