LOG * set up django * downloaded, unzipped * $sudo python setup.py install * set up basic lighttpd installation * $sudo apt-get install lighttpd * automatically started running a service * set up postgresql * $sudp apt-get install postgresql * automatically started running a service * set up lighttpd to host django * add mod_fastcgi to server.modules and restart * $python manage.py runfcgi daemonize=false socket=/home/brandon/mysite.sock maxrequests=1 * $sudo apt-get install libpq-dev * $sudo apt-get install build-essential * $sudo apt-get install python-dev * $sudo easy_install psycopg2 * create database * $su postgres * $createdb operator * $createuser --superuser brandon * install protocol buffers * make sure to set up the python library * set up cron job, hitting pollmbta django management command TODO function regularly pings MBTA and puts the result in db database function what pings MBA cron job web services take mbta stop IDs and return schedule deviations android client uses metawatch