0

成功安装后,我执行
sudo gollum --port 80 并得到错误

 Gollum::InvalidGitRepositoryError at /
       Gollum::InvalidGitRepositoryError
         file: git_layer_grit.rb location: rescue in initialize line: 280
        BACKTRACE
        (expand)
        JUMP TO: GET POST COOKIES ENV
         /usr/lib/ruby/1.9.1/webrick/httpserver.rb in service
  si.service(req, res)
         /usr/lib/ruby/1.9.1/webrick/httpserver.rb in run
      server.service(req, res)
        /usr/lib/ruby/1.9.1/webrick/server.rb in block in start_thread
      block ? block.call(sock) : run(sock)
4

3 回答 3

3

首先,您必须创建 git 存储库。

$ 混帐初始化

$咕噜——端口80

祝你好运。

于 2016-03-11T15:02:23.607 回答
0

尝试

gollum --port 80 --gollum-path /your/repo/directory

或者从你的 git repo 中运行命令

于 2015-05-02T08:35:22.610 回答
0

您需要将 git repo 指定为 的参数gollum,如下所示:

gollum --port 80 /home/gollum/wiki

gollum --help

于 2017-12-06T01:18:36.910 回答