Skip to content

gitHabbe/me-module

Repository files navigation

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/