abberadhi / weather-module
Weather module for anax
Package info
github.com/abberadhi/weather-module
Language:HTML
pkg:composer/abberadhi/weather-module
v1.0.6
2021-05-09 23:06 UTC
Requires
- php: >=7.4
- anax/commons: ^2.0.14
Requires (Dev)
- anax/anax: ^2.0.17
- phpmetrics/phpmetrics: ^2
- phpunit/phpunit: ^7
README
installation
install via composer
composer require abberadhi/weather-module
configuration
move over files
stand in root
rsync -av ./vendor/abberadhi/weather-module/config/ ./config/
rsync -av ./vendor/abberadhi/weather-module/src/ ./src/
rsync -av ./vendor/abberadhi/weather-module/view/ ./view/
rsync -av ./vendor/abberadhi/weather-module/view/ ./view/
rsync -av ./vendor/abberadhi/weather-module/test/ ./test/
rsync -av ./vendor/abberadhi/weather-module/htdocs/css ./htdocs
api keys
- Make a copy of
.weatherapi-example.jsonand name it.weatherapi.json, put in your personal api key - Make a copy of
.api-example.jsonand name it.api.json, put in your personal api key.
style
in your config/page.php, insert this line under stylesheets
"css/weather.css"
test
run
sudo make test