Note - The World Bank took down their climate WebAPI. Darn it. We now depend on a docker version of the same until we work out what to do long term. Docker build and deploy this locally - https://github.com/servirtium/worldbank-climate-recordings - see README
TL;DR:
docker build [email protected]:servirtium/worldbank-climate-recordings.git#main -t worldbank-weather-api-for-servirtium-development
docker run -d -p 4567:4567 worldbank-weather-api-for-servirtium-development
The build for this demo project needs that docker container running
Demo of Servirtium using the Climate Data API of the World Bank
This demo is a work in progress following a guide (at step 1 presently): https://github.com/servirtium/README/blob/master/starting-a-new-implementation.md
This repo contains PHPUnit tests, therefore you need to have phpunit installed in your local environment, a phar copy has been included in the roots of this project.
To run the tests, execute the following:
- Install dependencies:
composer update
- Run tests:
php phpunit.phar --bootstrap vendor/autoload.php tests