githabbe/me-module

Module for course

v1.2.3 2020-11-25 22:22 UTC

This package is not auto-updated.

Last update: 2024-06-20 14:41:37 UTC


README

Build Status CircleCI Scrutinizer Code Quality Code Coverage Build Status

MeModule for Anax projects

This module require api-keys for the various services. config.php is put in the root for the application. Format is like this:

<?php

return [
    "key" => "KEY HERE",
    "example" => "KEY HERE",
    "darkSky" => "KEY HERE",
    "openWeather" => "KEY HERE",
    "cageData" => "KEY HERE",
    "mapbox" => "KEY HERE"
];

Install package with composer

composer require githabbe/me-module

Use the bash-file to skip 'rsync' commands below

bash vendor/githabbe/me-module/.hab/scaffold/postprocess.d/1200_geo.bash

Copy the configuration files

rsync -av vendor/githabbe/me-module/config ./

Copy the views

rsync -av vendor/anax/remserver/views ./views/MeModule/