pip install -r requirements.txt
sudo apt update
sudo apt install postgresql
createdb authorizedagent09 -h localhost -p 5432 -U postgres
python manage.py migrate
Create superuser named vscode with password vscode
python3 manage.py createsuperuser
Run/deploy the app:
python manage.py collectstatic
cd /workspaces/osiraa/drp_aa_mvp && python3 manage.py runserver 8001
See the app in the browser by clicking the prompt VsCode will show you. Go to /admin
and login with vscode
vscode
to see the admin portal.
Add a Covered Business
:
- Cb ID: 1234
- Discover Endpoint: https://drp.staging.transcen.dental/.well-known/data-rights.json
- API root Endpoint: https://drp.staging.transcen.dental
- Supported Actions: access
- Auth bearer token: 1234
Add a User Identity
so we can submit privacy requests on their behalf:
- email is verified and
dev+drp@transcend.io
You can view the keys used by the DRP to sign the requests by running cat /workspaces/osiraa/drp_aa_mvp/agents.json | jq ".[].verify_key"
after the server starts up.
We will want to use the verify_key
value to verify that the signatures are valid.