安装 Gollum
gem install gollum
建议安装 github-markdown
,以便 GFM 功能在本地渲染:
gem install github-markdown
克隆您的 wiki
git clone http://git.gtmap.cn/xingxiaofeng/docker-demo.wiki.git
cd docker-demo.wiki
启动 Gollum 并在本地编辑
gollum == Sinatra/1.3.5 has taken the stage on 4567 for development with backup from Thin >> Thin web server (v1.5.0 codename Knife) >> Maximum connections set to 1024 >> Listening on 0.0.0.0:4567, CTRL+C to stop