Skip to content
This repository has been archived by the owner on Nov 3, 2018. It is now read-only.

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
Eran Hammer committed Jan 21, 2014
1 parent 84aa993 commit cb2e953
Show file tree
Hide file tree
Showing 2 changed files with 123 additions and 0 deletions.
49 changes: 49 additions & 0 deletions lib/config.js.example
@@ -0,0 +1,49 @@
// Product Configuration

exports.product = {
name: 'Postmile'
};


// Server Configuration

exports.server = {
web: {
host: 'monterey.hueniverse.net',
port: 8000
},
api: {
host: 'monterey.hueniverse.net',
port: 8001
}
};

exports.server.web.uri = (exports.server.web.tls ? 'https://' : 'http://') + exports.server.web.host + ':' + exports.server.web.port;
exports.server.api.uri = (exports.server.api.tls ? 'https://' : 'http://') + exports.server.api.host + ':' + exports.server.api.port;


// Database Configuration

exports.database = {
host: '127.0.0.1',
port: 27017,
db: 'postmile'
};


// Email Configuration

exports.email = {
fromName: 'Postmile',
replyTo: 'no-reply@hammer.io',
admin: 'eran@hammer.io',
feedback: 'eran@hammer.io',
server: {
// port: 25,
// user: '',
// password: '',
// host: 'localhost',
// ssl: false
}
};

74 changes: 74 additions & 0 deletions lib/vault.js.example
@@ -0,0 +1,74 @@
// Email token

exports.emailToken = {
aes256Key: '934nx93485n9348y5nx347y5xb'
};


// Oz token

exports.ozTicket = {
password: 'x3nq9485nx93845x93845nx3948'
};


// Database credentials

exports.database = {
username: '',
password: ''
};


// Jar encryption key

exports.yar = {
password: '8udnx589qx34u5n93q48un5dx4'
};


// Session token encryption key

exports.session = {
password: 'xc9348u5n9384u5n93485nu934'
};


// Postmile API

exports.apiClient = {
id: '52db87c1f809334d61000001',
key: '6AwYvqT9lgx594P2PRiu6cWCuAZAbVkd6Zkschk78OYZdmEG07w3WicWttgf2CCG',
algorithm: 'sha256'
};

exports.viewClient = {
id: '52db87c1f809334d61000002',
key: '',
algorithm: 'sha256'
};


// Twitter

exports.twitter = {
clientId: '',
clientSecret: ''
};


// Facebook

exports.facebook = {
clientId: '',
clientSecret: '',
};


// Yahoo!

exports.yahoo = {
clientId: '',
clientSecret: ''
};

0 comments on commit cb2e953

Please sign in to comment.