Digital badge management for issuers, earners, and consumers
Badgr Server provides an API for issuing Open Badges. It will soon provide integrated badge management and sharing for badge earners and tools for inspection, exploration and discovery of Open Badges and a world of learning opportunities.
Version: Developer Preview 0.1.1
Prerequisites:
- python 2.7.x
- virtualenv
- npm
- gulp
mkdir badgr-home
virtualenv env
source env/bin/activate
Activate the environment (each time you start a session working with the code)
Obtain source code
git clone git@github.com:concentricsky/badgr-home.git code
cd code
from within code directory
pip install -r requirements.txt
npm install
cp apps/mainsite/settings_local.py.example apps/mainsite/settings_local.py
- Edit the settings_local.py file and insert local credentials for DATABASES and email, then run the following from within the
code
directory:
./manage.py migrate
gulp build
./manage py createsuperuser
./manage.py runserver
- Navigate to http://localhost:8000/accounts/login
- login, verify an email address
A browseable API is available at /v1
and documentation at /docs
If you choose to use the BADGR_APPROVED_ISSUERS_ONLY flag, this means new user accounts will not be able to define new issuers (though they can be added as staff on issuers defined by others) unless they have the Django user permission 'issuer.add_issuer'. The recommended way to grant users this privilege is to create a group that grants it in the /staff
admin area and addthe appropriate users to that group.