Giter VIP home page Giter VIP logo

inquisition's Introduction

Inquisition 审判庭

明日方舟速通云控后端

如何使用

警告: 本项目正处于 Fast Moving 阶段。任何数据库结构变化和API变动将不会提前通知。强烈建议您等待 release 版本。若执意运行,请确保自己拥有一定的纠错能力并友善的提出issue,我们将很乐意为您解答。

数据库配置

# 请使用 Mysql8
# 创建数据库
CREATE DATABASE inquisition;
# 选择数据库
USE inquisition;
# 运行 sql
SOURCE https://fastly.jsdelivr.net/gh/AegirTech/Inquisition/main/sql/arklights.sql
# 写入 admin 记录 其中password的加密为 MD5(明文密码+arklightscloud)
# 例如创建一个用户名为root 密码为123456的管理员账号
INSERT INTO `admin`(`id`, `user_name`, `password`, `permission`, `notice`, `delete`) VALUES (1, 'root', '7966fd2201810e386e8407feaf09b4ea', 'root', '{}', 0);

编译

git clone https://github.com/AegirTech/Inquisition.git
cd Inquisition
./gradlew bootJar # 编译jar包至./build/libs
cp ./build/libs/xxx.jar ./
java -jar xxx.jar # 请使用java 11+

配置文件

# yaml配置,请在jar包同级目录创建 application.yml 

# 启动端口
server:
  port: 2000
  # 启用证书
  ssl:
    key-store: /xxx/xxx/xxx.keystore
    key-store-type: PKCS12
    key-store-password: xxxxxx
    enabled: false
    
spring:
  # 数据库连接配置 Mysql 8+
  datasource:
    driver-class-name: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://127.0.0.1:3306/arklights?characterEncoding=UTF-8
    username: root
    password: 123456
  # 邮箱推送配置
  mail:
    enable: true
    host: smtp.qq.com
    port: 465
    protocol: smtps
    username: [email protected]
    # 部分邮箱password为授权码 如qq邮箱
    password: xxxxxx
    from: [email protected]
    to: [email protected]
# 每日任务刷新cron表达式
cron: '0 0 4,12,20 * * ?'

# sql日志
mybatis-plus:
  configuration:
    log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl

前端部署

请确保已经部署证书开启https,后访问 http://aegirtech.com 填写后端地址并登陆即可

API文档

部署后访问

TODO

  • 心跳协议
  • Task拉取
  • 多设备管理 负载均衡
  • Admin管理
  • 日志
  • 前端实现 --> 当前开发
  • 截图获取
  • User管理
  • 通知

低优先度TODO

  • CDK

inquisition's People

Contributors

dazecake avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.