mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-12 02:42:48 +00:00
updated bunch of file paths and changed the way posts are loaded
This commit is contained in:
18
node_modules/mongodb-core/TESTING.md
generated
vendored
Normal file
18
node_modules/mongodb-core/TESTING.md
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
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});
|
||||
Reference in New Issue
Block a user