Simple Backend and Back-office application to manage the creation and granting of badges, certificates and credentials through Django framework
If you would like to contribute with the project, below you'll see how to start it with docker.
- Install Docker and Docker Compose
- In the root of the project's directory run in shell, the command
docker-compose up
- In another shell, prepare the migrations based on the apps
python manage.py makemigrations core
python manage.py makemigrations diplomas
- Make the migrations in the order below.
python manage.py migrate core
python manage.py migrate auth
python manage.py migrate contenttypes
python manage.py migrate admin
python manage.py migrate sessions
python manage.py migrate diplomas
- Create an admin user
python manage.py createsuperuser
- Install Docker and Docker Compose
- Open the project with VSC - Insiders
- In a bash in VSC's terminal, prepare the migrations based on the apps
python manage.py makemigrations core
python manage.py makemigrations diplomas
- Make the migrations in the order below.
python manage.py migrate core
python manage.py migrate auth
python manage.py migrate contenttypes
python manage.py migrate admin
python manage.py migrate sessions
python manage.py migrate diplomas
- Create an admin user
python manage.py createsuperuser
To run coverage, execute the command below
coverage run --source='.' manage.py test apps
Django Open Badges is an open source project, so contributing is as easy as forking the project on either of these sites and committing your enhancements. Please, don't forget include always tests. If you are fixing a bug, add a test that breaks before your patch and works after.