No description
Find a file
2012-09-25 16:38:33 +02:00
nginx update init script 2011-07-30 13:31:04 +02:00
oxdata register likes 2012-09-25 16:38:33 +02:00
wsgi oxdjango 2010-08-11 15:06:56 +02:00
.bzrignore ignore build 2010-08-11 14:07:05 +02:00
README dont fail on unknown Ox ids 2010-09-17 19:26:47 +02:00
requirements.txt api/movie 2011-10-14 11:03:43 +02:00

To setup a local instance of oxdata:

    bzr branch http://code.0xdb.org/oxdata oxdata
    cd oxdata
    virtualenv .
    pip -E . install -r requirements.txt

you need python, bazaar, pip and virtualenv:

    apt-get install python-setuptools bzr
    east_install pip
    pip install virtualenv

also it uses system python moduels, so make sure you have
 ipython, dbmodule(psycopg2, python-mysqldb,..)
installed via apt-get/pip/easy_install in your system path.

Install rabbitmq and carrot:
    sudo apt-get install rabbitmq-server
    
    sudo rabbitmqctl add_user oxdata ox
    sudo rabbitmqctl add_vhost /oxdata
    sudo rabbitmqctl set_permissions -p /oxdata oxdata ".*" ".*" ".*"


Deploy:
    adduser --disabled-password --disabled-login --home /srv/oxdata/ oxdata