Created
June 10, 2012 08:35
-
-
Save nemf/2904505 to your computer and use it in GitHub Desktop.
config.js for SparkleShare Dashboard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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