...
Code Block | ||
---|---|---|
| ||
[authentication] auth_url = "https://auth.fairandsmart.com/auth"; auth_realm = "FairAndSmart"; auth_client_id = "fsorg"; auth_username = "mysecretidentity@example.com"; auth_password = "MySecretPassword"; [backend] api_url = "https://core.fairandsmart.com/api"; organisation_id = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"; model_id_or_alias = "YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY"; |
Par Ce code peut facilement être démarré via docker :
Code Block | ||
---|---|---|
| ||
FROM php:7.2-apache
COPY . /var/www/html |
Décompressez cette archive :
View file | ||
---|---|---|
|
créez l’image :
docker build --tag simple-consent-integration-example .
lancez l’image :
docker run simple-consent-integration-example
rendez-vous sur l’IP indiquée dans les logs, par exemple sur http://
...
...