Blob


1 <!doctype html>
2 <html lang=en>
3 <head>
4 <meta charset=utf-8>
6 <title>Game of Trees Installation Instructions</title>
7 <meta name="description" content="Game of Trees Manual Pages">
8 <meta name="viewport" content="width=device-width, initial-scale=1">
9 <link rel="stylesheet" type="text/css" href="openbsd.css">
10 <link rel="canonical" href="https://gameoftrees.org/install.html">
11 </head>
13 <body>
14 <h2>
15 <a href="index.html">
16 <i>Game of Trees</i></a>
17 Installation Instructions
18 </h2>
19 <hr>
21 <p>
22 These installation instruction apply to the OpenBSD version of Game of Trees.
23 See the <a href="portable.html">portable version</a> for installation
24 instructions which apply to other operating systems.
26 <p>
27 Game of Trees can be installed on OpenBSD with:
29 <pre class="cmdbox">
30 pkg_add got
31 </pre>
33 <p>
34 Alternatively, compile the <tt>devel/got</tt> port:
36 <p>
37 <pre class="cmdbox">
38 cd /usr/ports/devel/got
39 make
40 make SUDO=doas install
41 </pre>
43 <p>
44 The installation includes:
46 <ul>
47 <li>The <tt>got</tt> command line interface
48 <li>The <tt>tog</tt> repository browser
49 <li>Several <a href="manual.html">manual pages</a>
50 <li>Helper programs in the <tt>/usr/local/libexec</tt> directory:
51 <ul>
52 <li>
53 <tt>got-fetch-pack</tt>,
54 <tt>got-index-pack</tt>,
55 <tt>got-read-blob</tt>,
56 <tt>got-read-commit</tt>,
57 <tt>got-read-gitconfig</tt>,
58 <tt>got-read-object</tt>,
59 <tt>got-read-pack</tt>,
60 <tt>got-read-tag</tt>,
61 <tt>got-read-tree</tt>
62 </ul>
63 </ul>
65 As a post-installation step the <tt>GOT_AUTHOR</tt> environment
66 variable should be set:
67 <p>
68 <pre class="cmdbox">
69 export GOT_AUTHOR='Flan Hacker &lt;flan_hacker@openbsd.org&gt;'
70 </pre>
72 <p>
73 The repository web frontend <tt>gotweb</tt> can likewise be
74 installed from packages:
76 <pre class="cmdbox">
77 pkg_add gotweb
78 </pre>
80 Alternatively the -web subpackage of the port can be built:
81 <pre class="cmdbox">
82 cd /usr/ports/devel/got
83 env SUBPACKAGE=-web make
84 env SUBPACKAGE=-web doas make install
85 </pre>
87 Setup instructions are provided in the
88 <a href="gotweb.8.html">gotweb</a> manual page.
89 </body>
90 </html>