Blame


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