Skip to content

Latest commit

 

History

History
57 lines (48 loc) · 1.67 KB

README.md

File metadata and controls

57 lines (48 loc) · 1.67 KB

Lead

一个简约的背单词应用

首页: https://rzyzai.tech/lead/
DEMO: http://lead.rzyzai.tech/

示例

memorize quiz
search monitor

部署

git clone https://github.com/rzyzai/lead.git
cd lead
mkdir build && cd build
cmake .. && make 
(或 g++ ../src/*.cpp -I ../include -I ../include/bundled -lpthread -lleveldb -std=c++17 -O2 -o lead) 
./lead ../res/config/config.json
打开 "localhost:8080"

config.json

{
  "admin_password": "admin",
  "listen_address": "0.0.0.0",
  "listen_port": 8080,
  "resource_path": "../res",
  "smtp_email": "",
  "smtp_password": "",
  "smtp_server": "",
  "smtp_username": ""
}
  • admin_password为管理员密码,用于在网页端查看服务器状态和修改配置。
  • listen_addresslisten_address为服务器监听地址
  • resource_path是资源目录
  • smtp_** 用于注册时发送验证邮件(选填)

依赖

日照一中AI社

lead 来自日照一中AI社