sihd17/weather

A me page for the ramverk1 course.

1.4.0 2020-01-12 14:31 UTC

This package is auto-updated.

Last update: 2024-05-12 23:46:45 UTC


README

Build Status Scrutinizer Code Quality Code Coverage Build Status

Anax weather-module

Install and setup Anax

You need a Anax installation to use this module. You can create an Anax installation using the anax-cli that an be found at (https://github.com/canax/anax-cli).

create an Anax installation anax-site-develop into the directory test/ with bash.

anax create test ramverk1-me-v2
cd test

you can now test it by pointing your webserver to test/htdocs this should bring you to an anax frontpage

Install the weather module via composer

  1. Install using composer.
composer require sihd17/weather
  1. rsync files.
rsync -av vendor/sihd17/weather/config/ ./config/
rsync -av vendor/sihd17/weather/src/ ./src/
rsync -av vendor/sihd17/weather/view/ ./view/
rsync -av vendor/sihd17/weather/test/ ./test/
  1. add you're api keys to config/apiKey.php instead of xxx
<?php

return ["ipstack" => "xxx",
"darksky" => "xxx",
"locationiq" => "xxx"
];