Projection for the Webby Awards co-sponsored roofies party (August 2013)
- OSX 10.8.4
- Cinder 0.8.5 and xcode
- Python 2.7
- beanstalkd
Be sure to set the CINDER_PATH to your local (built) version of Cinder
- Built with cinder
- The app makes calls to the flask app to grab the photos at
http://localhost:5000
. Possible urls are:http://localhost:5000/getPhoto
(Photobooth photos)http://localhost:5000/getUserInstagram/tbg
(@barbariangroup instagram photos)http://localhost:5000/getInstagram
(#roofies2013 tagged instagram photos)
- The xcode project is in
projection/WebbysProjection/xcode/
- Make sure the project is linked to wherever Cinder 0.8.5 is installed
- Run the app in xcode to get your final .app file
- Python based
- To watch for photos added to dropbox, it uses beanstalkd
- The server uses flask
- Be sure pip is installed so that you can install a bunch of python dependencies
(pip install _)
- pip (to install other dependencies) Pip install directions
- virtual environment (not essential, but best if you want to use the venv environment in the python directory)
- beanstalkc (to add new photos from a directory to a queue) Be sure to install beanstalkd
- flask (to serve the json to an app)
- watchdog (to watch dir for changes)
- requests (makes making http requests easy)
To install the dependencies cd into the python dir:
$ pip install -r stable-req.txt
Terminal 1: (beanstalkd)
$ cd ~/[project directory]/python $ . venv/bin/activate $ beanstalkd
Terminal 2: (photo booth monitor)
$ cd ~/[project directory]/python $ . venv/bin/activate $ python photoboothMonitor.py ~/Dropbox/booth [swap out for final booth dropbox directory]
Terminal 3: (cinder web server)
$ cd ~/[project directory]/python $ . venv/bin/activate $ python cinderWebServer.py ~/Dropbox/booth [swap out for final booth dropbox directory]
Once all the python scripts and servers are running, launch the cinder app (WebbyProjection). That's it. You won't see anything until enough photos load, which may be a few seconds.