Navigation Menu

Skip to content

Mozilla-GitHub-Standards/32efa1a1fe75882ab357bdb58d92207732a76c86f080bb0f12b4b3357b38899d

 
 

Mozilla Badges

Mozilla Badges is a badge service based on Playdoh, a Django deriviative. This is currently a new development, but you can find the live badges.mozilla.org code elsewhere on GitHub.

Setup

Basic setup instructions:

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
cp mozbadges/settings/local.py-dist mozbadges/settings/local.py

Now edit mozbadges/settings/local.py and choose a value for SECRET_KEY. Adjust the settings under DATABASE as appropriate for your mysql setup. Uncomment the entry under HMAC_KEYS and change the secret as desired. Uncomment the SESSION_COOKIE_SECURE line if you are not using HTTPS.

Create a new mysql schema with a name corresponding to the NAME you chose in the local.py file.

./manage.py syncdb
# follow prompts to set up a django superuser
./manage.py runserver 0.0.0.0:8000

Your server should now be accessible at localhost:8000.

License

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

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 81.6%
  • HTML 12.2%
  • Puppet 2.2%
  • CSS 1.7%
  • Makefile 1.5%
  • Shell 0.7%
  • Smarty 0.1%