mirror of
https://github.com/viq/NewsBlur.git
synced 2025-08-05 16:49:45 +00:00
18 lines
373 B
Markdown
18 lines
373 B
Markdown
![]() |
Testing setup
|
||
|
=============
|
||
|
|
||
|
Single Server
|
||
|
-------------
|
||
|
mongod --dbpath=./db
|
||
|
|
||
|
Replicaset
|
||
|
----------
|
||
|
mongo --nodb
|
||
|
var x = new ReplSetTest({"useHostName":"false", "nodes" : {node0 : {}, node1 : {}, node2 : {}}})
|
||
|
x.startSet();
|
||
|
var config = x.getReplSetConfig()
|
||
|
x.initiate(config);
|
||
|
|
||
|
Mongos
|
||
|
------
|
||
|
var s = new ShardingTest( "auth1", 1 , 0 , 2 , {rs: true, noChunkSize : true});
|