The scraper microservice pulls in data from external data sources. It is built with a plug-in architecture, so that scapers or crawlers for a variety of external sources can be created.
Once data has been scraped, it should be put into the system event stream to create or update entries in the data store.
Full documentation can be found in the system documentation microsite at https://docs.hc-dos.co.uk/.
Runs in Docker.
Installation assumes you have Docker running.
Copy .env.example
to .env
for and adapt as required, e.g. for local development, or set system environment variables.
$ make up
- php uses PHP 7.2 image from convivio/php-kafka
- nginx uses Nginx 1.15 image wodby/nginx
- mailhog to catch local mail
- traefik
The system has a number of dependency libraries and packages that must be installed.
A key package supports PHP integration with Apache Kafka, and to install this dependency checks that the PHP Rdkafka extension is installed. Since this is unlikely to be installed on a host or CI/CD system, the composer install process will (probably) need to run on the PHP Docker container.
API specification documentation is in the docs/api directory.