githabbe / me-module
课程模块
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
此模块需要各种服务的API密钥。 config.php 放置在应用的根目录中。格式如下
<?php return [ "key" => "KEY HERE", "example" => "KEY HERE", "darkSky" => "KEY HERE", "openWeather" => "KEY HERE", "cageData" => "KEY HERE", "mapbox" => "KEY HERE" ];
使用composer安装包
composer require githabbe/me-module
使用bash文件跳过下面的 'rsync' 命令
bash vendor/githabbe/me-module/.hab/scaffold/postprocess.d/1200_geo.bash
复制配置文件
rsync -av vendor/githabbe/me-module/config ./
复制视图文件
rsync -av vendor/anax/remserver/views ./views/MeModule/