No description
Find a file
2010-01-30 12:27:30 +05:30
apache more api implementation, some templates 2010-01-29 16:33:45 +05:30
fixtures foo 2009-06-08 18:08:59 +02:00
oxdb indent 2010-01-30 12:27:30 +05:30
wsgi fix wsgi 2010-01-17 11:18:33 +13:00
.bzrignore random commit 2009-12-31 16:04:32 +01:00
README right now code is in 0xdb2 2010-01-17 10:19:33 +13:00
requirements.txt add django_extensions to requirements 2010-01-26 18:43:03 +05:30

To setup a local instance of 0xdb:

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


you need python, bazaar, pip and virtualenv:

    apt-get install python-setuptools bzr
    easy_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 oxdb password
    sudo rabbitmqctl add_vhost /oxdb
    sudo rabbitmqctl set_permissions -p /oxdb oxdb "^oxdb-.*" ".*" ".*"


    update BROKER_* settings in local_settings.py:

Development:
    we are using django, http://docs.djangoproject.com/en/dev/
    communication between webserver and background tasks is done via rabbitmq
    http://github.com/ask/carrot/ for more info on the lib used to communicate