cryptaeve / seat-moonbot
为 seat 提供可配置的月球采矿 api 的模块
v0.0.3
2021-09-30 13:17 UTC
Requires
- eveseat/eveapi: ^4.14
- eveseat/services: ^4.1
- eveseat/web: ^4.0
README
SeAT 的模块,用于创建各种月球统计信息的 API 端点
用法
快速安装
Docker 安装
打开 .env 文件(可能位于 /opt/seat-docker/.env),并编辑 SEAT_PLUGINS 变量以包括此包。
# SeAT Plugins
# This is a list of the all of the third party plugins that you
# would like to install as part of SeAT. Package names should be
# comma separated if multiple packages should be installed.
SEAT_PLUGINS=cryptaeve/seat-moonbot
保存您的 .env 文件,并运行 docker-compose up -d 以重新启动包含新插件的堆栈。根据您还安装了多少其他插件,这可能需要一段时间才能完成。
您可以通过运行以下命令来监控安装过程:
docker-compose logs --tail 5 -f seat-app
Blade 安装
在您的 seat 目录中(默认:/var/www/seat),输入以下内容:
php artisan down
composer require cryptaeve/seat-moonbot
php artisan vendor:publish --force --all
php artisan migrate
php artisan up
现在,当您登录 'Seat' 时,您应该在左侧看到 'MoonBot' 链接。
使用跟踪
为了了解此插件的用法,已实现了一种非常简单的匿名使用跟踪形式。
有关使用的系统更多信息,请参阅此处