githabbe / me-module
Module for course
v1.2.3
2020-11-25 22:22 UTC
Requires
- anax/anax-cli: ^1.2
- anax/anax-ramverk1-me: ^1.0.0
Requires (Dev)
- anax/anax-lite: ^1.0.24
- phpmetrics/phpmetrics: ^2
- phpunit/phpunit: ^7
README
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/