一个简约的背单词应用
首页: https://rzyzai.tech/lead/
DEMO: http://lead.rzyzai.tech/
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"
{
"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_address
、listen_address
为服务器监听地址resource_path
是资源目录smtp_**
用于注册时发送验证邮件(选填)
lead 来自日照一中AI社