Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

The next version of drumbeat.org. Rewritten in Django and made better.

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 apps
Octocat-spinner-32 media
Octocat-spinner-32 requirements
Octocat-spinner-32 templates
Octocat-spinner-32 wsgi
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE.txt
Octocat-spinner-32 README.rst
Octocat-spinner-32 __init__.py
Octocat-spinner-32 manage.py
Octocat-spinner-32 settings.py
Octocat-spinner-32 settings_local.dist.py
Octocat-spinner-32 urls.py
README.rst

Batucada

Batucada is a ground up rewrite of drumbeat.org in Django.

Installation

To install Batucada, you must clone the repository:

git clone git://github.com/paulosman/batucada.git

To get started, you'll need to make sure that virtualenv and pip are installed.

sudo easy_install virtualenv
sudo easy_install pip

I recommend using virtualenvwrapper to manage your virtual environments. Follow the installation instructions. Once installed, create your virtual environment for batucada and install the dependencies

cd batucada
mkvirtualenv batucada
workon batucada
pip install -r requirements/compiled.txt
pip install -r requirements/prod.txt

If you are doing an update, you might find it helps to delete pyc files:

find . -name "*.pyc" | xargs rm

You should create a settings_local.py. Most people will be able to get away with the template provided.

cp settings_local.dist.py settings_local.py

Next, sync the database and run migrations.

python manage.py syncdb --noinput

There's a problem with real databases (read: not sqlite) where south migrations are run in an order that violates foreign key constraints. See Bug # 623612 for details. Until that is fixed, you're best off running migrations in this order.

python manage.py migrate projects
python manage.py migrate users
python manage.py migrate activity
python manage.py migrate statuses
python manage.py migrate links
python manage.py migrate dashboard
python manage.py migrate relationships

What a pain!

Finally, start the development server to take it for a spin.

python manage.py runserver

Get Involved

To help out with batucada, join the Drumbeat mailing list and introduce yourself. We're currently looking for help from Django / Python and front-end (HTML, CSS, Javascript) developers.

Something went wrong with that request. Please try again.