This repository was archived by the owner on Aug 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinstall.html
95 lines (81 loc) · 3.97 KB
/
install.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<!DOCTYPE html>
<html>
<head>
<title>ws: a nimble webserver with friends</title>
<link href="css/site.css" rel="stylesheet" />
<head>
<body>
<header>
<h1>ws: a nimble webserver with friends</h1>
</header>
<section><h1>Installation</h1>
<p><em>ws</em> and companions are command line programs run from a shell like Bash. You can find compiled
versions in <a href="https://github.com/rsdoiel/ws/releases/latest">releases/latest</a>
on Github. What you want to download is the zip file named <em>ws-binary-release.zip</em>. Inside
the zip file look for the directory that matches your computer and copy that someplace
defined in your path (e.g. $HOME/bin).</p>
<p>Compiled versions are available for Mac OS X (amd64 processor), Linux (amd64), Windows
(amd64) and Rapsberry Pi (both ARM6 and ARM7)</p>
<h2>Mac OS X</h2>
<ol>
<li>Go to <a href="https://github.com/rsdoiel/ws/releases/latest">github.com/rsdoiel/ws/releases/latest</a></li>
<li>Click on the green “ws-binary-release.zip” link and download</li>
<li>Open a finder window and find the downloaded file and unzip it (e.g. ws-binary-release.zip)</li>
<li>Look in the unziped folder and find dist/macosx-amd64/</li>
<li>Drag (or copy) the files inside to a “bin” directory in your path
<ul>
<li>e.g. <code>cp ~/Downloads/ws-binary-release/dist/macosx-amd64/* ~/bin/</code></li>
</ul></li>
<li>Open and “Terminal” and run <code>ws -h</code> and run <code>reldocpath -h</code></li>
</ol>
<h2>Windows</h2>
<ol>
<li>Go to <a href="https://github.com/rsdoiel/ws/releases/latest">github.com/rsdoiel/ws/releases/latest</a></li>
<li>Click on the green “ws-binary-release.zip” link and download</li>
<li>Open the file manager find the downloaded file and unzip it (e.g. ws-binary-release.zip)</li>
<li>Look in the unziped folder and find dist/windows-amd64/ws.exe</li>
<li>Drag (or copy) the <em>ws.exe</em> and other files ending in “.exe” to a “bin” directory in your path</li>
<li>Open Bash and and run <code>ws -h</code> and run <code>reldocpath -h</code></li>
</ol>
<h2>Linux</h2>
<ol>
<li>Go to <a href="https://github.com/rsdoiel/ws/releases/latest">github.com/rsdoiel/ws/releases/latest</a></li>
<li>Click on the green “ws-binary-release.zip” link and download</li>
<li>find the downloaded zip file and unzip it (e.g. unzip ~/Downloads/ws-binary-release.zip)</li>
<li>In the unziped directory and find for dist/linux-amd64/</li>
<li>copy the fils in that directory to a “bin” directory
<ul>
<li>e.g. <code>cp ~/Downloads/ws-binary-release/dist/linux-amd64/* ~/bin/</code></li>
</ul></li>
<li>From the shell prompt run <code>ws -h</code> and run <code>reldocpath -h</code></li>
</ol>
<h2>Raspberry Pi</h2>
<p>If you are using a Raspberry Pi 2 or later use the ARM7 binary, ARM6 is only for the first generaiton Raspberry Pi.</p>
<ol>
<li>Go to <a href="https://github.com/rsdoiel/ws/releases/latest">github.com/rsdoiel/ws/releases/latest</a></li>
<li>Click on the green “ws-binary-release.zip” link and download</li>
<li>find the downloaded zip file and unzip it (e.g. unzip ~/Downloads/ws-binary-release.zip)</li>
<li>In the unziped directory and find for dist/raspberrypi-arm7/</li>
<li>copy the files in that directory to a “bin” directory
<ul>
<li>e.g. <code>cp ~/Downloads/ws-binary-release/dist/raspberrypi-arm7/ws ~/bin/</code></li>
<li>if you are using an original Raspberry Pi you should copy the ARM6 version instead</li>
</ul></li>
<li>From the shell prompt run <code>ws -h</code> and run <code>reldocpath -h</code></li>
</ol>
</section>
<nav><ul>
<li><a href="/">home</a></li>
<li><a href="./">ws</a></li>
<li><a href="license.html">LICENSE</a></li>
<li><a href="install.html">Install</a></li>
<li><a href="https://github.com/rsdoiel/ws">Github</a></li>
</ul>
</nav>
<footer>
copyright (c) 2014 - 2016 R. S. Doiel<br />
All rights reserved.<br />
See: <a href="license.html">LICENSE</a>
</footer>
</body>
</html>