hellemarck / weather
A weather module for ramverk1 course.
v1.2.1
2020-12-04 15:44 UTC
Requires
- php: >=7.2
- anax/commons: ^2.0.14
Requires (Dev)
- anax/anax: ^2.0.17
- phpmetrics/phpmetrics: ^2
- phpunit/phpunit: ^7
README
Weather module for Anax framework
This module is developed for usage in the PHP framework Anax.
Installation
composer require hellemarck/weather
make install
make install test
Copy configuration and module files
rsync -av vendor/hellemarck/weather/config/ config/
rsync -av vendor/hellemarck/weather/src/ src/
rsync -av vendor/hellemarck/weather/test/ test/
rsync -av vendor/hellemarck/weather/view/ view/
Add your personal API keys
Modify the file config/api_keys.php
to hold your personal API keys.
Structure
The weather server will be available at /weather
and the ip server will be available at /ip
Run tests
make test
Remember to fix the file api_keys.php first