Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Badges for everyone! Minimal multi-player reference site for django-badger. File any issues on the django-badger project: https://github.com/mozilla/django-badger/issues
Python CSS JavaScript Other
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
badgus
bin
docs Update copyright in docs/conf.py
lib/product_details_json
migrations
puppet
requirements
scripts/update
vendor @ b9ee4a5
vendor-local Restrict badge creation to vouched Mozillians
wsgi
.gitignore Little utility script to restart my server
.gitmodules
.travis.yml
LICENSE
MANIFEST.in
README.md Project URLs moved
TODO.md
Vagrantfile
manage.py
restart.sh
settings_test.py
setup.py
vagrantconfig.yaml
vagrantconfig_local.yaml-dist

README.md

badg.us

badg.us is a badge service based on django-badger and playdoh.

Bugs and Ideas

Feel free to file them as issues on the badges.mozilla.org project!

Development

Here's how I get it running on my MacBook:

git clone 
git submodule update --init --recursive
virtualenv --no-site-packages venv
. ./venv/bin/activate
pip install -r requirements/compiled.txt
pip install -r requirements/dev.txt
# Set up a mysql database
# Edit badgus/settings/local.py
./manage.py syncdb
./manage.py migrate
./manage.py compress_assets
./manage.py runserver 0.0.0.0:8000

Under Ubuntu 12.10 (64 bit), all the above worked after first installing some packages and rejiggering some files:

sudo apt-get install build-essential python-dev python-pip \
    python-virtualenv mysql-server libmysqlclient-dev libxml2-dev \
    libxslt-dev memcached libjpeg8 libjpeg62-dev libfreetype6 \
    libfreetype6-dev

sudo ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib
sudo ln -s /usr/lib/x86_64-linux-gnu/libfreetype.so /usr/lib
sudo ln -s /usr/lib/x86_64-linux-gnu/libz.so /usr/lib

License

This software is licensed under the New BSD License. For more information, read the file LICENSE.

Something went wrong with that request. Please try again.