Blame


1 e3b15841 2019-08-09 stsp <!doctype html>
2 e3b15841 2019-08-09 stsp <html lang=en>
3 e3b15841 2019-08-09 stsp <meta charset=utf-8>
4 e3b15841 2019-08-09 stsp
5 e3b15841 2019-08-09 stsp <title>Game of Trees Installation Instructions</title>
6 e3b15841 2019-08-09 stsp <meta name="description" content="Game of Trees Manual Pages">
7 e3b15841 2019-08-09 stsp <meta name="viewport" content="width=device-width, initial-scale=1">
8 e3b15841 2019-08-09 stsp <link rel="stylesheet" type="text/css" href="openbsd.css">
9 e3b15841 2019-08-09 stsp <link rel="canonical" href="https://gameoftrees.org/install.html">
10 e3b15841 2019-08-09 stsp
11 e3b15841 2019-08-09 stsp <h2>
12 e3b15841 2019-08-09 stsp <a href="index.html">
13 e3b15841 2019-08-09 stsp <i>Game of Trees</i></a>
14 e3b15841 2019-08-09 stsp Installation Instructions
15 e3b15841 2019-08-09 stsp </h2>
16 e3b15841 2019-08-09 stsp <hr>
17 e3b15841 2019-08-09 stsp
18 e3b15841 2019-08-09 stsp <p>
19 32025b7b 2021-09-27 stsp These installation instruction apply to the OpenBSD version of Game of Trees.
20 32025b7b 2021-09-27 stsp See the <a href="portable.html">portable version</a> for installation
21 32025b7b 2021-09-27 stsp instructions which apply to other operating systems.
22 32025b7b 2021-09-27 stsp
23 32025b7b 2021-09-27 stsp <p>
24 35e68d6b 2020-04-25 stsp Game of Trees can be installed on OpenBSD with:
25 e3b15841 2019-08-09 stsp
26 e3b15841 2019-08-09 stsp <pre class="cmdbox">
27 e3b15841 2019-08-09 stsp pkg_add got
28 e3b15841 2019-08-09 stsp </pre>
29 e3b15841 2019-08-09 stsp
30 e3b15841 2019-08-09 stsp <p>
31 3dd5e265 2023-06-28 bentley Alternatively, compile the <code>devel/got</code> port:
32 e3b15841 2019-08-09 stsp
33 e3b15841 2019-08-09 stsp <p>
34 e3b15841 2019-08-09 stsp <pre class="cmdbox">
35 e3b15841 2019-08-09 stsp cd /usr/ports/devel/got
36 e3b15841 2019-08-09 stsp make
37 0a7b51e6 2019-08-09 stsp make SUDO=doas install
38 e3b15841 2019-08-09 stsp </pre>
39 e3b15841 2019-08-09 stsp
40 e3b15841 2019-08-09 stsp <p>
41 e3b15841 2019-08-09 stsp The installation includes:
42 e3b15841 2019-08-09 stsp
43 e3b15841 2019-08-09 stsp <ul>
44 3dd5e265 2023-06-28 bentley <li>The <code>got</code> command line interface
45 3dd5e265 2023-06-28 bentley <li>The <code>tog</code> repository browser
46 e3b15841 2019-08-09 stsp <li>Several <a href="manual.html">manual pages</a>
47 3dd5e265 2023-06-28 bentley <li>Helper programs in the <code>/usr/local/libexec</code> directory:
48 e3b15841 2019-08-09 stsp <ul>
49 6e69927a 2020-04-25 stsp <li>
50 3dd5e265 2023-06-28 bentley <code>got-fetch-pack</code>,
51 3dd5e265 2023-06-28 bentley <code>got-index-pack</code>,
52 3dd5e265 2023-06-28 bentley <code>got-read-blob</code>,
53 3dd5e265 2023-06-28 bentley <code>got-read-commit</code>,
54 3dd5e265 2023-06-28 bentley <code>got-read-gitconfig</code>,
55 3dd5e265 2023-06-28 bentley <code>got-read-gotconfig</code>,
56 3dd5e265 2023-06-28 bentley <code>got-read-object</code>,
57 3dd5e265 2023-06-28 bentley <code>got-read-pack</code>,
58 3dd5e265 2023-06-28 bentley <code>got-read-patch</code>,
59 3dd5e265 2023-06-28 bentley <code>got-read-tag</code>,
60 3dd5e265 2023-06-28 bentley <code>got-read-tree</code>,
61 3dd5e265 2023-06-28 bentley <code>got-send-pack</code>
62 e3b15841 2019-08-09 stsp </ul>
63 e3b15841 2019-08-09 stsp </ul>
64 577b6390 2019-08-15 stsp
65 3dd5e265 2023-06-28 bentley As a post-installation step the <code><var>GOT_AUTHOR</var></code> environment
66 577b6390 2019-08-15 stsp variable should be set:
67 577b6390 2019-08-15 stsp <p>
68 577b6390 2019-08-15 stsp <pre class="cmdbox">
69 577b6390 2019-08-15 stsp export GOT_AUTHOR='Flan Hacker &lt;flan_hacker@openbsd.org&gt;'
70 577b6390 2019-08-15 stsp </pre>
71 df3a8063 2020-02-17 stsp
72 df3a8063 2020-02-17 stsp <p>
73 5296e828 2023-01-17 stsp On OpenBSD -current, and OpenBSD 7.3 release or later, the
74 5296e828 2023-01-17 stsp Game of Trees Git repository server can be installed with:
75 5296e828 2023-01-17 stsp
76 5296e828 2023-01-17 stsp <pre class="cmdbox">
77 5296e828 2023-01-17 stsp pkg_add gotd
78 5296e828 2023-01-17 stsp </pre>
79 5296e828 2023-01-17 stsp
80 5296e828 2023-01-17 stsp Alternatively, the -server subpackage of the port can be built:
81 5296e828 2023-01-17 stsp <pre class="cmdbox">
82 5296e828 2023-01-17 stsp cd /usr/ports/devel/got
83 5296e828 2023-01-17 stsp env SUBPACKAGE=-server make
84 5296e828 2023-01-17 stsp env SUBPACKAGE=-server doas make install
85 5296e828 2023-01-17 stsp </pre>
86 5296e828 2023-01-17 stsp
87 5296e828 2023-01-17 stsp <p>
88 5296e828 2023-01-17 stsp The server installation includes:
89 5296e828 2023-01-17 stsp
90 5296e828 2023-01-17 stsp <ul>
91 3dd5e265 2023-06-28 bentley <li>The <code>gotd</code> daemon
92 3dd5e265 2023-06-28 bentley <li>The <code>gotsh</code> network-facing frontend for the daemon
93 3dd5e265 2023-06-28 bentley <li>The <code>gotctl</code> control utility
94 5296e828 2023-01-17 stsp </ul>
95 5296e828 2023-01-17 stsp
96 5296e828 2023-01-17 stsp Setup instructions are provided in the
97 5296e828 2023-01-17 stsp <a href="gotd.8.html">gotd</a>,
98 5296e828 2023-01-17 stsp <a href="gotsh.1.html">gotsh</a>, and
99 5296e828 2023-01-17 stsp <a href="gotd.conf.5.html">gotd.conf</a> manual pages.
100 5296e828 2023-01-17 stsp
101 5296e828 2023-01-17 stsp <p>
102 3dd5e265 2023-06-28 bentley The repository web frontend <code>gotwebd</code> can likewise be
103 df3a8063 2020-02-17 stsp installed from packages:
104 df3a8063 2020-02-17 stsp
105 df3a8063 2020-02-17 stsp <pre class="cmdbox">
106 5922040a 2023-01-17 stsp pkg_add gotwebd
107 df3a8063 2020-02-17 stsp </pre>
108 df3a8063 2020-02-17 stsp
109 5296e828 2023-01-17 stsp Alternatively, the -webd subpackage of the port can be built:
110 df3a8063 2020-02-17 stsp <pre class="cmdbox">
111 df3a8063 2020-02-17 stsp cd /usr/ports/devel/got
112 5922040a 2023-01-17 stsp env SUBPACKAGE=-webd make
113 5922040a 2023-01-17 stsp env SUBPACKAGE=-webd doas make install
114 df3a8063 2020-02-17 stsp </pre>
115 df3a8063 2020-02-17 stsp
116 df3a8063 2020-02-17 stsp Setup instructions are provided in the
117 5922040a 2023-01-17 stsp <a href="gotwebd.8.html">gotwebd</a> manual page.