Simple web application for user evaluation of Youtube videos
Python CSS Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
pairs
results-chi14
sql
static
templates
.gitignore
Makefile
README.rst
code.py
config.py
control.py
create_db.py
db.py
start.sh
view.py

README.rst

yourank

Simple web application for user evaluation of Youtube videos

requirements

  • python 2.5 or above
  • web.py (easy_install web.py)
  • flup (easy_install flup) - only needed when using lightppd or apache

how to populate database

Use the create_db.py script

$ python create_db.py

It will read the contents of the pairs/video.pairs file. In this file each line has to be two youtube video ids separated by whitespace. The database will be in sqllite3 format under the name database.db.

how to deploy

In standalone mode just jun the code.py script or use the start.sh script

$ python code.py

or

$ ./start.sh

using lightppd + fastcgi

See https://wiki.ubuntu.com/Lighttpd%2BPHP and http://crosbymichael.com/webpy-server-setup.html (ignore the mysql part)