Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close

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.

Recent activity

Nothing to see here, move along.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.