chai17 / weather
A anax weather module
Requires
- anax/anax-ramverk1-me: ^1.0.0
Requires (Dev)
- phpunit/phpunit: ^7.2
README
Code and build Status
Versions
Downloads
Chat
Table of content
- Install and setup Anax
- Install as Anax module
- Install using scaffold postprocessing file
- Dependency
- License
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 rem
.
anax create weather anax-site-develop
cd weather
Point your webserver to weather/htdocs
and Anax should display a Home-page.
Install as Anax module
This is how you install the module into an existing Anax installation.
Install using composer.
composer require chai17/weather
rsync -av vendor/chai17/weather/config ./
Optionally you may copy the API documentation.
rsync -av vendor/chai17/weather/content/api.md content/api.md
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/chai17/anax/scaffold/postprocess.d/700_weather.bash
The postprocessing script should be run after the composer require
is done.
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 Christofer Wikman (christofer.wikman@gmail.com)