josmas / local-badgr-server

A local setup of Badgr.io to use as a development dependency
Other
3 stars 3 forks source link

Add superuser and associated data #7

Closed josmas closed 8 years ago

josmas commented 8 years ago

In the case of the badgr-client library, an admin user with an issuer and a first badge is needed in order to pass tests. A sql script could add this info to the docker image (could be parametrised?).

josmas commented 8 years ago

There's a DB (dump + sqlite3 file) here. Could be added to the Dockerfile by copying it after the installation; if that works, add docs explaining what's in the DB (a super user, an issuer, and a number of badges from the badgekit server).

josmas commented 8 years ago

This is now done; DB and assets for badges are part of the image.