aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDennis Eriksen <dennis.se@gmail.com>2013-05-27 13:48:49 +0200
committerDennis Eriksen <dennis.se@gmail.com>2013-05-27 13:48:49 +0200
commit541d2428eeca4157915218f3f816286c88bddd59 (patch)
tree977262b8a229e336c5a12526a300a121a35f7efe
parentremoved config file with sesitive information (diff)
downloadDivid-541d2428eeca4157915218f3f816286c88bddd59.tar.gz
added config exampleHEADmaster
-rw-r--r--config/config.example.js30
1 files changed, 30 insertions, 0 deletions
diff --git a/config/config.example.js b/config/config.example.js
new file mode 100644
index 0000000..d4625e3
--- /dev/null
+++ b/config/config.example.js
@@ -0,0 +1,30 @@
+var path = require('path')
+ , rootPath = path.normalize(__dirname + '/..');
+
+
+module.exports = {
+ development: {
+ db: 'mongodb://localhost/Divid'
+ , root: rootPath
+ , app: {
+ name: 'Divid'
+ }
+ , facebook: {
+ clientID: ''
+ , clientSecret: ''
+ , callbackURL: 'https://divid.no/auth/facebook/callback'
+ }
+ , twitter: {
+ clientID: ''
+ , clientSecret: ''
+ , callbackURL: 'https://divid.no/auth/twitter/callback'
+ }
+ , email: {
+ server: 'localhost'
+ , ssl: false
+ }
+ , sessionSecret: 'lsdrghoi4hgqio42nqf2uqi32f3bilu23fl23b'
+ }
+}
+
+