51 lines
1.7 KiB
HTML
Executable File
51 lines
1.7 KiB
HTML
Executable File
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>How to seed a Hyperdrive website on Debian 10 - Archive - MayVaneDay Studios</title>
|
|
<link href="../style.css" rel="stylesheet" type="text/css" media="all">
|
|
<meta name="author" content="Vane Vander">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
</head>
|
|
<body class="mayvaneday">
|
|
<article>
|
|
<div class="box">
|
|
<p><h1>How to seed a Hyperdrive website on Debian 10</h1></p>
|
|
<p>published: 2020-09-12</p>
|
|
</div>
|
|
<hr>
|
|
<div class="box">
|
|
<ol type="1">
|
|
<li>Install a recent version of Node.js.</li>
|
|
</ol>
|
|
<p><code>sudo -i</code></p>
|
|
<p><code>curl -sL https://deb.nodesource.com/setup_14.x | bash -</code></p>
|
|
<p><code>apt-get install -y nodejs fuse</code></p>
|
|
<ol start="2" type="1">
|
|
<li>Install the Hyperdrive daemon.</li>
|
|
</ol>
|
|
<p><code>npm install -g hyperdrive-daemon && exit</code></p>
|
|
<p>The <code>exit</code> is necessary so that you're back in your normal user account again.</p>
|
|
<ol start="3" type="1">
|
|
<li>Set up the Fuse mount:</li>
|
|
</ol>
|
|
<p><code>mkdir ~/Hyperdrive</code></p>
|
|
<p><code>hyperdrive fuse-setup</code></p>
|
|
</code></pre>
|
|
<ol start="4" type="1">
|
|
<li>Start the Hyperdrive daemon. (You should do this in a multiplexer, as it will run in the foreground.)</li>
|
|
</ol>
|
|
<p><code>hyperdrive start --foreground</code></p>
|
|
<ol start="5" type="1">
|
|
<li>Seed your first site.</li>
|
|
</ol>
|
|
<p><code>cd ~/Hyperdrive && hyperdrive mount MakeUpANameHere SiteKeyHere</code></p>
|
|
</div>
|
|
<hr>
|
|
<div class="box">
|
|
<p align=right>CC BY-NC-SA 4.0 © Vane Vander</p>
|
|
</div>
|
|
</article>
|
|
</body>
|
|
</html>
|