1 {% extends "base.htm" %}
2 {% block title %}phorkie help{% endblock %}
5 <h1>Help on phorkie</h1>
7 <h2 id="remote-forking">Remote forking</h2>
8 <script type="text/javascript">
9 function registerHandler() {
10 navigator.registerProtocolHandler(
12 "{{htmlhelper.fullUrl('fork-remote?remote_url=%s')}}",
14 + "{{htmlhelper.fullUrl()}}"
15 .replace(/https?:\/\//, '')
21 <div class="row-fluid">
24 Phorkie allows cloning/forking of pastes on other servers
25 - other phorkie instances, github gists or simply any remote
29 You can go to <a href="fork-remote">fork-remote</a> and enter the
30 URL of the paste on the other server.
33 It's way easier to simply click a "fork" button that automatically
34 takes you to this phorkie's remote paste page, prefilled with
38 To make this work, click the register button on the right.
39 It will register a "protocol handler" for "web+fork:"-URLs,
40 making phorkie chime in whenever a <tt>web+fork</tt> URL is clicked.
44 <a href="#" onclick="registerHandler(); return false;" class="btn">
45 register web+fork protocol handler
50 <h3 id="fork-check">Setup check</h3>
52 You need to activate public clone URLs in your config file.
53 Otherwise forking onto remote systems will not work.
56 <div class="alert alert-success">
57 OK! A public git URL prefix is configured: <tt>{{publicGitUrl}}</tt>
60 <div class="alert alert-error">
61 Error! No public git URL prefix configured.