Update data in a Triple store based on data stored in a github repository.
- Open webhook.php to generate config.php with secret
- Create a new webhook
- Add payload url with parameters
- secret: Secret as configured in application (config.php)
- endpoint: Sparql Endpoint to update data
- data: path to files with data (for multiple files use array, e.g. &data[]=FILE1&&data[]=FILE2
- Example
webhook.php?secret=XYZSDF&endpoint=http://fuseki/dataset/data?default&data[]=FILE1&data[]=FILE2
- config.php is automatically generated at first start. It contains the automatic generated secret.
- Remember to check permissions
sudo chown www-data:www-data -R gitSparql/