This commit is contained in:
Rajesh Nagpal 2016-12-24 07:35:44 -08:00
Родитель 9adf3a6ffd
Коммит 9e78d30140
4 изменённых файлов: 7 добавлений и 5 удалений

1
.gitignore поставляемый
Просмотреть файл

@ -3,6 +3,7 @@
generateDocs.cmd
RunFunctionalTests.cmd
runtests.cmd
*.proj
config.js

1
Contributing.md Normal file
Просмотреть файл

@ -0,0 +1 @@
Please read the contributing guidelines from the [Azure Team](https://azure.microsoft.com/en-us/blog/simple-contribution-to-azure-documentation-and-sdk/)

Просмотреть файл

@ -1,4 +1,4 @@
#Windows Azure DocumentDB Node.js Q promises wrapper
#Microsoft Azure DocumentDB Node.js Q promises wrapper
[![Join the chat at https://gitter.im/Azure/azure-documentdb-node](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/Azure/azure-documentdb-node?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
@ -25,7 +25,7 @@ To use this SDK to call Azure DocumentDB, you need to first [create an account](
var DocumentClient = require('documentdb-q-promises').DocumentClientWrapper;
var host = [hostendpoint]; // Add your endpoint
var masterKey = [database account masterkey]; // Add the massterkey of the endpoint
var masterKey = [database account masterkey]; // Add the masterkey of the endpoint
var client = new DocumentClient(host, {masterKey: masterKey});
var databaseDefinition = { id: "sample database" }

Просмотреть файл

@ -1,4 +1,4 @@
#Windows Azure DocumentDB Node.js Q promises wrapper tests
#Microsoft Azure DocumentDB Node.js Q promises wrapper tests
@ -24,10 +24,10 @@ Install to node_modules
Edit _testConfig.js, supplying a host and masterKey for an existing DocumentDB account.
WARNING! - do NOT use an account which contains objects or data which you care about. The test suite
WARNING! - DO NOT use an account which contains objects or data which you care about. The test suite
cleans up after itself and may delete any or all contents.
From the tests folder run
From the test folder run
> mocha -t 0 -R spec