2017-09-10 17:25:29 +05:30
|
|
|
- @content_class = "limit-container-width limit-container-width-sm" unless fluid_layout
|
2015-09-11 14:41:01 +05:30
|
|
|
- page_title "Git Access", "Wiki"
|
2015-09-25 12:07:36 +05:30
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
.wiki-page-header.has-sidebar-toggle
|
|
|
|
%button.btn.btn-default.visible-xs.visible-sm.pull-right.sidebar-toggle.js-sidebar-wiki-toggle{ role: "button", type: "button" }
|
|
|
|
= icon('angle-double-left')
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
.git-access-header
|
|
|
|
Clone repository
|
|
|
|
%strong= @project_wiki.full_path
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
= render "shared/clone_panel", project: @project_wiki
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
.wiki-git-access
|
|
|
|
%h3 Install Gollum
|
|
|
|
%pre.dark
|
|
|
|
:preserve
|
|
|
|
gem install gollum
|
|
|
|
%p
|
|
|
|
It is recommended to install
|
|
|
|
%code github-markdown
|
|
|
|
so that GFM features render locally:
|
|
|
|
%pre.dark
|
|
|
|
:preserve
|
|
|
|
gem install github-markdown
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
%h3 Clone your wiki
|
|
|
|
%pre.dark
|
|
|
|
:preserve
|
|
|
|
git clone #{ content_tag(:span, h(default_url_to_repo(@project_wiki)), class: 'clone')}
|
|
|
|
cd #{h @project_wiki.path}
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
%h3 Start Gollum and edit locally
|
|
|
|
%pre.dark
|
|
|
|
:preserve
|
|
|
|
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
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
= render 'sidebar'
|