BoomCDN-Django-python-client

Created: 2012-03-24 21:29
Updated: 2014-04-06 21:47

README.markdown

Installation

First clone the repo

git clone git://github.com/kangasbros/BoomCDN-Django-python-client.git
cd BoomCDN-Django-python-client/bombcdn_client/

Install redis:

on recent linux:

sudo aptitude install redis-server python-virtualenv

or:

wget http://redis.googlecode.com/files/redis-2.4.9.tar.gz
tar xzf redis-2.4.9.tar.gz
cd redis-2.4.9
make
src/redis-server &

then install the python stuff

virtualenv bomb-env
source bomb-env/bin/activate
pip install -r requirements.txt

then set your settings to local_settings.py

cp local_settings_example.py local_settings.py

You need to set 4 parameters:

username="worker2"
profile_uuid="KKb1TGTmmqMK2XKYM34kzc"
clientserver_ip="178.73.194.178"
clientserver_port=12313

then you have to initialize the database

python manage.py syncdb

then start celeryd

python manage.py celeryd &

and then start the actual server

python manage.py runcserver 0.0.0.0:12313

And now you are done! The client will start replicating files and you will start earning money!

Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more