Comments (8)
登陆数据库管理界面
例如:
http://10.0.0.49:5984/_utils/index.html
找到右下角
Welcome to Admin Party!
Everyone is admin. Fix this
点击
Fix this
在Create Server Admin 对话框中填写你要设置的用户名和密码
比如
username: root
password:a12345
然后修改
src/config.h 中
const std::string DATABASE_USERNAME = "";
const std::string DATABASE_PASSWORD = "";
为
const std::string DATABASE_USERNAME = "root";
const std::string DATABASE_PASSWORD = "a12345";
from leanclub.
然后执行make
生成可执行文件leanclub
运行leanclub
from leanclub.
but........
./leanclub
Fatal Error: Unable to get category,is database down?
from leanclub.
导入那些默认的json文件
On Thu, Dec 10, 2015 at 21:09 tsuibin [email protected] wrote:
but........
./leanclub
Fatal Error: Unable to get category,is database down?—
Reply to this email directly or view it on GitHub
#7 (comment).
from leanclub.
数据都导入了
“
"1"
ID: 1
{rev: "1-142983e97e9ae13c440dea85b69308a0"}
"10"
ID: 10
{rev: "1-b885c80accfdecd0343a5d03c5ad8ebf"}
"11"
ID: 11
{rev: "1-10012bb7893ea6beeae7219cac85a3ae"}
"12"
ID: 12
{rev: "1-6445f1d0d68672f21bc040e8870352d2"}
"13"
ID: 13
{rev: "1-8d0f6bf70144a554a5f731774443bdaf"}
"14"
ID: 14
{rev: "1-f1cbc517af2a0148a551ac95efffc1b9"}
"15"
ID: 15
{rev: "1-ce20eabaa739add8054111c9ff119a0f"}
"16"
ID: 16
{rev: "1-9c871dc5058e5b16dfa3af840859b763"}
"17"
ID: 17
{rev: "1-7ffaa3a317ad532bceaf18abcb5551f6"}
"2"
ID: 2
{rev: "1-a7040fd1a6754a1cd7b0fec1fd6511bf"}
”
from leanclub.
#define DATABASE_URL "http://127.0.0.1:5984"
#define REDIS_MASTER_IP "127.0.0.1"
DATABASE_URL 这个是填写 http://127.0.0.1:5984
还是 http://127.0.0.1 ?
from leanclub.
http 开头 / 结尾
On Fri, Dec 11, 2015 at 9:49 AM tsuibin [email protected] wrote:
#define DATABASE_URL "http://127.0.0.1:5984"
#define REDIS_MASTER_IP "127.0.0.1"DATABASE_URL 这个是填写 http://127.0.0.1:5984
还是 http://127.0.0.1 ?—
Reply to this email directly or view it on GitHub
#7 (comment).
from leanclub.
tsuibin@compiler01:~/src/LeanClub/build$ ./leanclub
APP Listening on port 18080 with 500 thread(s)
运行起来了
DATABASE_URL结尾掉了个/
from leanclub.
Related Issues (14)
- reserved identifier violation HOT 1
- Auth failed Please re-login HOT 61
- 搜索 HOT 2
- 发布新的主题 Please post on offical site HOT 4
- 附件上传后无法显示 HOT 14
- Online: Read failed
- https访问失败 HOT 1
- 关于 crow::json::wvalue rtx转json string的问题 HOT 1
- Compiled failed. HOT 1
- debian 安装 couchdb 然后访问/_utils/index.html页面报错 HOT 6
- 添加了一个数据库自动初始化脚本init_database.sh HOT 1
- [ERROR ] An uncaught exception occurred: invalid json object HOT 2
- 如何修改绑定IP 127.0.0.1:18080 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from leanclub.