This is the demo repository to test stubby-db features
-
Install stubby-db from git URL (use http url instead of ssh url)
npm install https://github.com/NaturalIntelligence/StubbyDB.git -gIt'll automatically install the latest version of stubby-db with all required dependencies. However you can also install particular version using following command;
npm install https://github.com/NaturalIntelligence/StubbyDB.git#1.0.0 -ggit maintains the npm package history.
To install it from NPM package manager
npm install stubby-db -gNote: You may have to run above commands with sudo access.
-
Clone this repository to some folder (stubby-db-test) and mention the path in below command
stubbydb -d stubby-db-test -p 9999or just open this repository in shell window and run following command.
stubbydbFor any help
stubbydb --help -
Now since everything is setup and stubbydb is started, open this repository in another shell window and use following command to test it.
node tests/test.js