forked from marklogic-community/bitemp-explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.js
More file actions
22 lines (20 loc) · 650 Bytes
/
env.js
File metadata and controls
22 lines (20 loc) · 650 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
var dev = {
host: 'localhost', // The database app server host
port: 8000, // By default port 8000 is enabled
//database : 'Documents',
user: 'admin', // A user with at least the rest-writer role
password: 'admin', // Probably not your password
authType: 'DIGEST' // The default auth
};
// Another connection. Change the module.exports below to
// use it without having to change consuming code.
var test = {
host: 'acceptance.example.com',
port: 9116,
user: 'app-writer',
password: '********',
authType: 'DIGEST'
};
module.exports = {
connection: dev // Export the development connection
};