Overview

andalucia

Kesako ?

A microblogging application.

Install

Libraries:

  • python-dev
  • memcached
  • memcachedb
  • libmemcache5
  • libmemcachedprotocol0
  • libmemcachedutil0
  • libmemcached-dev
  • libev3
  • libevent
  • libevent-core
  • libevent-dev
  • libevent-extra
  • mongodb10gen see instructions for ubuntu and other distros on mongodb.org

Python requirements:

  • python headers
  • memcached server + memcached headers
  • mongodb headers

You should have pip & virtualenv, if not try this commands:

sudo easy_install pip
sudo pip install virtualenv

You will need mercurial, so install it too:

sudo pip install mercurial

Let's install andalucia:

hg clone https://abki@bitbucket.org/abki/andalucia
cd andalucia
pip -E env.andalucia install tproxy
pip install -r requirements.txt

Don't forget to active the virtualenv each time you start a new terminal.

You should start mongod first.

Then you can run the dev server inside ./andalucia/andalucia with:

(andalucia) ~/andalucia/andalucia/ # python scripts.py runserver -p 8000

In another terminal run celeryd with this command:

(andalucia) ~/andalucia/andalucia # ./run_celery.sg

You need one more terminal to run tproxy:

(andalucia) ~/andalucia/ # tproxy proxy.py

browser http://127.0.0.1:5000.