lundmark/forecaster

There is no license information available for the latest version (v1.3.1) of this package.

Module for the model Forecaster, used for fetching weather and forecast

v1.3.1 2020-12-30 10:55 UTC

This package is auto-updated.

Last update: 2024-03-29 04:19:43 UTC


README

Forecaster- moved from main branch to a module-based build.

Travis CI CircleCI Scrutinizer Build Status Scrutinizer Code Quality SymfonyInsight Code Climate Maintainability

FORECASTER

This module can be used for handling fetching weathers from a location (lat/long). Places a file in models, and also integrates itself softly with $di in a simple way.

Below are discussed what files are moved, and where these are placed.

But first of all, installation instructions!

INSTALLATION

The easiest way to install this module is to stand in the root of your project (after installing this module via composer) and run ./vendor/lundmark/forecaster/.anax/scaffold/postprocess.d/500_forecaster.bash

This will implement the files onto your project.

Here is what the bash-file does: >>>

  • Standing in root of your install-directory:

composer require lundmark/forecaster

  • Files should install, and get placed in vendor/lundmark/forecaster
  • After this, move files to correct locations.
  • Standing in root of your install-directory:

rsync -av vendor/lundmark/forecaster/config ./config/

rsync -av vendor/lundmark/forecaster/src ./

rsync -av vendor/lundmark/forecaster/test ./

rsync -av vendor/lundmark/forecaster/content/ ./content/

  • Below, all files that needs to be moved are listed. These are the same as mentioned above, in the bash code.

Files that needs to be moved

Standing in me/module/testme/

  • FROM vendor/lundmark/forecaster/config/di/forecaster.php
  • TO config/di/
  • FROM vendor/lundmark/forecaster/config/apikeys.php
  • TO config/
  • FROM vendor/lundmark/forecaster/src/Models/Forecaster.php
  • TO src/Models/
  • FROM vendor/lundmark/forecaster/test/Models/ForecasterTest.php
  • TO test/Models/
  • FROM vendor/lundmark/forecaster/test/Models/ForecasterTest.php
  • TO test/Models/