= Language = Python 2.6 = Libraries = # Zlib on Ubuntu aptitude install zlib1g-dev # Python 2.7 wget http://python.org/ftp/python/2.7/Python-2.7.tgz tar xzvf Python-2.7.tgz cd Python-2.7 ./configure ; make; sudo make install # Setuptools wget http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz#md5=7df2a529a074f613b509fb44feefe74e tar xzvf setuptools-0.6c11.tar.gz cd setuptools-0.6c11 python setup.py install # Tornado wget http://github.com/downloads/facebook/tornado/tornado-1.0.1.tar.gz tar xvf tornado-1.0.1.tar.gz cd tornado-1.0.1 sudo python setup.py install # Twilio wget http://github.com/twilio/twilio-python/tarball/2.0.8 tar xzvf twilio-twilio-python-2.0.8-0-ga6f6c40.tar.gz cd twilio-twilio-python-a6f6c40/ python setup.py install # MongoDB wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-1.6.2.tgz tar xzvf mongodb-linux-x86_64-1.6.2.tgz sudo mv mongodb-linux-x86_64-1.6.2 /usr/local sudo ln -s -f /usr/local/mongodb-linux-x86_64-1.6.2 /usr/local/mongodb # Pymongo git clone git://github.com/mongodb/mongo-python-driver.git pymongo cd pymongo/ sudo python setup.py install # Dateutil wget http://labix.org/download/python-dateutil/python-dateutil-1.5.tar.gz tar xzvf python-dateutil-1.5.tar.gz cd python-dateutil-1.5 sudo python setup.py install # PyTZ sudo easy_install pytz = Running the server = In the project root directory, resale_web, do python resale_web.py = Conventions = JSON methods return {'result':'OK'} or {'result':'failure', 'message':...}