hbons/SparkleShare-Dashboard — Issue #47: Folders not exported
Author: mogshooter
Created: 2012-02-12 16:28:36+00:00
State: open

I've set up Dashboard following Wiki's instruction on Debian Squeeze

Installation went well and dashboard is accessible but exported folders aren't accessible via dashboard

Here's the diff on my config.js from master

git diff
diff --git a/config.js b/config.js
index 9187d61..98249a8 100644
--- a/config.js
+++ b/config.js
@@ -1,8 +1,7 @@
exports.sessionSecret = 'JustSomeRandomString';

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 }
+ { type: 'git', name: 'Public', path: '/data/SparkleShare/Public.git', pub: false }
];

exports.listen = {
@@ -26,7 +25,7 @@ exports.linkCodeValidFor = 300;
exports.logging = 'none';

exports.fanout = {
- enabled: false,
+ enabled: true,
host: null,
port: 1986
};

The path I inserted on my exports.folders is a bare git repository :

$ pwd
/data/SparkleShare/Public.git

$ ls -la
total 40
drwxr-xr-x 7 sparkleshare sparkleshare 4096 12 févr. 09:48 .
drwxr-xr-x 3 sparkleshare sparkleshare 4096 12 févr. 11:04 ..
drwxr-xr-x 2 sparkleshare sparkleshare 4096 12 févr. 09:48 branches
-rw-r--r-- 1 sparkleshare sparkleshare 66 12 févr. 09:48 config
-rw-r--r-- 1 sparkleshare sparkleshare 73 12 févr. 09:48 description
-rw-r--r-- 1 sparkleshare sparkleshare 23 12 févr. 09:48 HEAD
drwxr-xr-x 2 sparkleshare sparkleshare 4096 12 févr. 09:48 hooks
drwxr-xr-x 2 sparkleshare sparkleshare 4096 12 févr. 09:48 info
drwxr-xr-x 4 sparkleshare sparkleshare 4096 12 févr. 09:48 objects
drwxr-xr-x 4 sparkleshare sparkleshare 4096 12 févr. 09:48 refs