Skip to content

Instantly share code, notes, and snippets.

@nemf
Created June 10, 2012 08:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nemf/2904505 to your computer and use it in GitHub Desktop.
Save nemf/2904505 to your computer and use it in GitHub Desktop.
config.js for SparkleShare Dashboard
// Dashboard から管理したい git レポジトリの path を指定します。
// pub: true -> 認証なしでみれる
// pub: false -> 認証ないとみれない
//
exports.folders = [
{ type: 'git', name: 'Public GIT folder', path: '/home/nexus/Desktop/play/SparkleDashboard-x/repos/g1', pub: true },
{ type: 'git', name: 'Private GIT folder', path: '/home/nexus/Desktop/play/SparkleDashboard-x/repos/g2', pub: false }
];
// Listen する IP, Port の指定
//
exports.listen = {
port: 3000,
host: null
};
// https を使う場合の鍵と証明書の path 指定
//
exports.https = {
enabled: false,
key: '/path/to/private.key',
cert: '/path/to/cert.crt'
};
// 外部に公開するURLの指定
//
exports.externalUrl = 'http://nemf.info/';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment