Skip to content

rzyzai/lead

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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社