-
Notifications
You must be signed in to change notification settings - Fork 2
/
install-source.html
76 lines (76 loc) · 2.36 KB
/
install-source.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!DOCTYPE html>
<html>
<head>
<title>Hockeypuck</title>
<link type="text/css" rel="stylesheet" href="static/article.css">
<meta charset='utf-8'>
</head>
<body>
<div id="topbar" class="wide">
<div class="container">
<div id="heading">Hockeypuck
OpenPGP Public Keyserver
</div>
</div>
</div>
<div id="page" class="wide">
<div class="container">
<div id="toc">
<ul>
<li><a href="#TOC_1.">Build and install from source</a></li>
<li><a href="#TOC_2.">Prerequisites</a></li>
<ul>
<li><a href="#TOC_2.1.">Go</a></li>
<li><a href="#TOC_2.2.">Git</a></li>
</ul>
<li><a href="#TOC_3.">Fetch sources</a></li>
<li><a href="#TOC_4.">Build hockeypuck executables</a></li>
<li><a href="#TOC_5.">Install</a></li>
<li><a href="#TOC_6.">Next steps</a></li>
</ul>
</div>
<h1 id="TOC_1.">1. Build and install from source</h1>
<h1 id="TOC_2.">2. Prerequisites</h1>
<h2 id="TOC_2.1.">2.1. Go</h2>
<p>
Install Go 1.20 or newer from <a href="http://golang.org/doc/install" target="_blank">golang.org</a>.
</p>
<h2 id="TOC_2.2.">2.2. Git</h2>
<p>
Go will need a Git client installed in order to fetch all of Hockeypuck's
package dependencies.
</p>
<p>
On Ubuntu:
</p>
<div class="code"><pre>sudo apt-get install git</pre></div>
<h1 id="TOC_3.">3. Fetch sources</h1>
<div class="code"><pre>git clone https://github.com/hockeypuck/hockeypuck</pre></div>
<h1 id="TOC_4.">4. Build hockeypuck executables</h1>
<p>With Go 1.20 installed, simply run:</p>
<div class="code"><pre>make build</pre></div>
<p>Hockeypuck binaries will be in `bin/`.
It will also install configuration examples and static files.</p>
<h1 id="TOC_5.">5. Install</h1>
<p>
Optionally run `sudo make install` to install the executables to `/usr/bin/`.
</p>
<p>
Run Hockeypuck with:
</p>
<div class="code"><pre>/path/to/hockeypuck -config /path/to/hockeypuck.conf</pre></div>
<h1 id="TOC_6.">6. Next steps</h1>
<ul>
<li><a href="configuration.html" target="_self">Configure</a> the Hockeypuck server.</li>
</ul>
<h2>Authors</h2>
<div class="author">
<p>
Casey Marshall
</p>
<p class="link"><a href="https://hockeypuck.io/" target="_blank">https://hockeypuck.io/</a></p>
</div>
</div>
</div>
</body>
</html>