BigW Consortium Gitlab

git_access.html.haml 1.2 KB
Newer Older
1
- @content_class = "limit-container-width limit-container-width-sm" unless fluid_layout
2
- page_title "Git Access", "Wiki"
3

4 5 6
.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')
7

8 9 10
  .git-access-header
    Clone repository
    %strong= @project_wiki.path_with_namespace
11

12
  = render "shared/clone_panel", project: @project_wiki
13

14 15 16 17 18 19 20 21 22 23 24 25
.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
26

27 28 29 30 31
  %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}
32

33 34 35 36 37 38 39 40
  %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
41 42

= render 'sidebar'