- Make sure Python2.7 with setuptools is installed
System wide (as root):
easy_install pip
pip install virtualenv
Project specific (as ordinary user):
mkdir rznij_ve
cd rznij_ve
mkdir ve
virtualenv ve
source ve/bin/activate
git clone git://github.com/jstasiak/rznij.git
cd rznij
pip install -r pip_requirements.txt
- Fill local_settings.py (template in local_settings.py.template), set SERVER_ADDRESS as needed
- Do manage.py collectstatic and manage.py syncdb
python manage.py rungevent 0:8000
This will run server which will be listening on all your network interfaces on port 8000.
- Application has to be run by manage.py rungevent because of gevent monkey patching and running gevent-socketio server instead of Django development server
- Currently website is in Polish, translation in progress ;)
- shared static files are in static_common directory, all static files have to be collected by manage.py collectstatic command
- development version (hg/develop branch) of gevent-socketio (https://github.com/jstasiak/gevent-socketio) is required, pip_requirements.txt should take care of this
Jakub Stasiak <kuba.stasiak at gmail.com>