LeanClub
LeanClub copied to clipboard
C++ forum system
crow::json::wvalue ctx; ctx["title"] = "zzzz"; ctx["time"] = "12:12"; ctx.str() 调试打印为空 如何将ctx转成json格式的字符串?
Read failed
在github申请了oauth id 和 Secret 填写到config.h 重新编译,测试 用github登录报错 Authorization callback URL: http://o2ee.picp.net/login/callback/github
搜索
搜索功能会调用 s.swiftypecdn.com/install/v2/st.js 然后会将LeanClub站点的内容显示出来
main.cpp 中 app.port(18080) 指定了端口,但是未看到绑定的IP设置 crow::SimpleApp app; 也没有找到crow::SimpleApp 这个类
~/src/LeanClub/databases$ sudo -i -u couchdb couchdb Apache CouchDB is running as process 10837, time to relax. 显示已经运行 netstat -tnal也可以看到 tcp 0 0 127.0.0.1:5984 0.0.0.0:\* LISTEN 端口5984已经监听 但是用浏览器打开 http://10.0.0.49:5984/_utils/index.html 显示 无法显示此网页...
I would like to point out that identifiers like "[`__leanclub__api__`](https://github.com/typcn/LeanClub/blob/9ed88f72cbdb95eb8e5c84c6974631b9adde3678/src/api.h#L9)" and "[`__URLENCODE_H__`](https://github.com/typcn/LeanClub/blob/9ed88f72cbdb95eb8e5c84c6974631b9adde3678/src/oauth/urlencode.h#L1)" [do not fit](https://www.securecoding.cert.org/confluence/display/cplusplus/DCL51-CPP.+Do+not+declare+or+define+a+reserved+identifier#DCL51-CPP.Donotdeclareordefineareservedidentifier-NoncompliantCodeExample%28HeaderGuard%29) to the expected naming convention of the C++ language standard. Would you like to adjust...