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.
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:
Now edit
mozbadges/settings/local.pyand choose a value forSECRET_KEY. Adjust the settings underDATABASEas appropriate for your mysql setup. Uncomment the entry underHMAC_KEYSand change the secret as desired. Uncomment theSESSION_COOKIE_SECUREline if you are not using HTTPS.Create a new mysql schema with a name corresponding to the
NAMEyou chose in thelocal.pyfile.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.