-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_private.js
29 lines (26 loc) · 1.01 KB
/
config_private.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Creates a "constants" object with defines
// ------- THAT ARE PRIVATE ----------------
// -- COPY THIS FILE TO A NEW FILE NAMED: config_private_mine.js
// BUT! To safely make these private, it should be a file that's not in the repository.
// So that's why we have you copy this.
function define(name, value) {
Object.defineProperty(exports, name, {
value: value,
enumerable: true
});
}
// Define your mongo connect string, including your auth.
// like: mongoose.connect('mongodb://username:password@host:port/database?options...');
// see also:
// http://mongoosejs.com/docs/connections.html
// http://docs.mongodb.org/manual/tutorial/enable-authentication/
define("MONGO_CONNECT_STRING",'mongodb://10.0.0.2/whistler');
define("IRC_SERVER",'irc.freenode.net');
define("IRC_CHANNEL",'#smcbot');
define("IRC_BOTNAME",'zenodebottest');
// -- Identification
define("IRC_DO_IDENTIFY",true);
define("IRC_IDENTPASS",'imnotregistered');
// -- Debugging
define("IRC_ENABLED",true);
define("IRC_DEBUG",true);