abberadhi / weather-module
Weather module for anax
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:HTML
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.json
and name it.weatherapi.json
, put in your personal api key - Make a copy of
.api-example.json
and 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