Skip to content
This repository

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

branch: master
Octocat-spinner-32 badgus Different home page messages when Mozillians restriction is turned off July 31, 2013
Octocat-spinner-32 bin changed all static use to use django-compressor instead, r=kumar June 12, 2012
Octocat-spinner-32 docs Update copyright in docs/conf.py July 27, 2012
Octocat-spinner-32 lib Revert "Removed the old hard-coded product details since it's in a su… November 14, 2011
Octocat-spinner-32 migrations Added schematic. January 06, 2011
Octocat-spinner-32 puppet Add project/ to path for settings files. February 26, 2012
Octocat-spinner-32 requirements Allow bleached markup to be used in badge and award descriptions January 23, 2013
Octocat-spinner-32 scripts Another dirty hack: This time, to skip the djcelery DB migrations July 30, 2013
Octocat-spinner-32 vendor @ b9ee4a5 Update playdoh-lib February 22, 2013
Octocat-spinner-32 vendor-local Restrict badge creation to vouched Mozillians July 31, 2013
Octocat-spinner-32 wsgi Make env vars less intrusive in WSGI January 27, 2012
Octocat-spinner-32 .gitignore Little utility script to restart my server May 18, 2012
Octocat-spinner-32 .gitmodules Restrict badge creation to vouched Mozillians July 31, 2013
Octocat-spinner-32 .travis.yml Initial work to get Playdoh and Django up to date March 26, 2013
Octocat-spinner-32 LICENSE Fix license July 27, 2012
Octocat-spinner-32 MANIFEST.in More pythonic Playdoh layout: no top level __init__, no apps January 09, 2012
Octocat-spinner-32 README.md Project URLs moved March 01, 2013
Octocat-spinner-32 TODO.md Site title setting; README / TODO updates April 15, 2012
Octocat-spinner-32 Vagrantfile Changes to make Vagrantfile compatible with vagrant 0.9.x January 19, 2012
Octocat-spinner-32 manage.py Initial work to get Playdoh and Django up to date March 26, 2013
Octocat-spinner-32 restart.sh Do syncdb and migrate on service restart May 31, 2012
Octocat-spinner-32 settings_test.py forgot comment November 01, 2012
Octocat-spinner-32 setup.py Rename badgermini to badgus, in anticipation of setting up badg.us April 15, 2012
Octocat-spinner-32 vagrantconfig.yaml Add puppet to playdoh October 03, 2011
Octocat-spinner-32 vagrantconfig_local.yaml-dist Add puppet to playdoh October 03, 2011
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.