oliver / weather
Weather module.
Requires
- php: >=7.2
- anax/commons: ^2.0.0@beta
Requires (Dev)
- anax/anax-lite: ^1.0.27
- anax/page: ^2.0.0@beta
- anax/view: ^2.0.0@beta
- phpmetrics/phpmetrics: ^2
- phpunit/phpunit: ^7
README
A service where you can search for past or future weather using coordinates.
Table of content
- Install as Anax module
- Install using scaffold postprocessing file
- Install and setup Anax
- Dependency
- License
Install as Anax module
This is how you install the module into an existing Anax installation.
Install using composer.
composer require oliver/weather
Copy the configuration files
rsync -av vendor/oliver/weather/config ./
Copy the view files
rsync -av vendor/oliver/weather/view ./
Copy the documentation
rsync -av vendor/oliver/weather/content/000_documentation.md ./content/weather/
Install using scaffold postprocessing file
The module supports a postprocessing installation script, to be used with Anax scaffolding. The script executes the default installation, as outlined above.
bash vendor/oliver/weather/.oliver/scaffold/postprocess.d/100_weather.bash
The postprocessing script should be run after the composer require is done.
Install and setup Anax
You need a Anax installation, before you can use this module. You can create a sample Anax installation, using the scaffolding utility anax-cli
.
Scaffold a sample Anax installation anax-site-develop
into the directory weather
.
$ anax create weather anax-site-develop
$ cd weather
Point your webserver to weather/htdocs
and Anax should display a Home-page.
Dependency
This is a Anax modulen and primarly intended to be used together with the Anax framework.
License
This software carries a MIT license. See LICENSE.txt for details.
Copyright (c) 2018 Oliver Johnsson (oliver.johnsson@me.com)