modess / git-pretty-stats

Self hosted graphs for Git repositories in PHP
Other
142 stars 24 forks source link

Running git-pretty-stats on Mavericks #21

Closed archerabi closed 10 years ago

archerabi commented 10 years ago

I've installed git-pretty-stats and run ./artisan serve. I keep getting

ErrorException Undefined variable: directories at line 93 of RepositoryFactory.php

when i navigate to localhost:8000. Any idea how to fix this ? screen shot 2014-03-07 at 11 48 06 am

modess commented 10 years ago

Just realized that it could end up there with $directories not being defined. Could you show me your content of these files:

I think it's a configuration issue.

archerabi commented 10 years ago

git-pretty-stats.php

return array(
    'repositoriesPath' => 'repositories',
    'emailAliases' => array(),
);

I don't seem to have app/config/local/git-pretty-stats.php

modess commented 10 years ago

Could it perhaps be related to issue https://github.com/modess/git-pretty-stats/issues/22? Please try and pull down the latest changes and try again, let me know if it still does not work.

archerabi commented 10 years ago

Yes. I think that was it. Thanks.