2018-11-08 19:23:39 +05:30
|
|
|
- @content_class = "limit-container-width" unless fluid_layout
|
2018-03-17 18:26:18 +05:30
|
|
|
- page_title s_("WikiClone|Git Access"), _("Wiki")
|
2021-01-03 14:25:43 +05:30
|
|
|
- add_page_specific_style 'page_bundles/wiki'
|
2015-09-25 12:07:36 +05:30
|
|
|
|
2019-12-04 20:38:33 +05:30
|
|
|
.wiki-page-header.top-area.has-sidebar-toggle.py-3.flex-column.flex-lg-row
|
2020-07-28 23:09:34 +05:30
|
|
|
= wiki_sidebar_toggle_button
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2019-12-04 20:38:33 +05:30
|
|
|
.git-access-header.w-100.d-flex.flex-column.justify-content-center
|
|
|
|
%span
|
|
|
|
= _("Clone repository")
|
2020-06-23 00:09:42 +05:30
|
|
|
%strong= @wiki.full_path
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2019-12-04 20:38:33 +05:30
|
|
|
.pt-3.pt-lg-0.w-100
|
2021-02-22 17:27:13 +05:30
|
|
|
= render "shared/clone_panel", container: @wiki
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
.wiki-git-access
|
2018-03-17 18:26:18 +05:30
|
|
|
%h3= s_("WikiClone|Install Gollum")
|
2017-09-10 17:25:29 +05:30
|
|
|
%pre.dark
|
|
|
|
:preserve
|
|
|
|
gem install gollum
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
%h3= s_("WikiClone|Clone your wiki")
|
2017-09-10 17:25:29 +05:30
|
|
|
%pre.dark
|
|
|
|
:preserve
|
2020-06-23 00:09:42 +05:30
|
|
|
git clone #{ content_tag(:span, h(default_url_to_repo(@wiki)), class: 'clone')}
|
|
|
|
cd #{h @wiki.path}
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
%h3= s_("WikiClone|Start Gollum and edit locally")
|
2017-09-10 17:25:29 +05:30
|
|
|
%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
|
|
|
|
2020-06-23 00:09:42 +05:30
|
|
|
= render 'shared/wikis/sidebar'
|