Add deploy.sh endpoint and one-command installation flow

This commit is contained in:
thakares committed 2026-06-17 20:17:19 +05:30
1 parent 900f72a299
commit 1a9bf096f3
4 files changed
+102 -29

No files matched your search

+68 -2
View File
@@ -15,7 +15,6 @@
</style>
</head>
<body class="bg-zinc-950 text-zinc-200">
<!-- Hero -->
<section class="hero-bg py-24">
<div class="max-w-5xl mx-auto px-6 text-center">
@@ -51,6 +50,23 @@
</div>
</div>
</section>
<div class="flex flex-wrap justify-center gap-3 mt-8 text-sm">
<span class="bg-zinc-900 px-3 py-1 rounded-full">
Single Binary
</span>
<span class="bg-zinc-900 px-3 py-1 rounded-full">
SQLite
</span>
<span class="bg-zinc-900 px-3 py-1 rounded-full">
REST API
</span>
<span class="bg-zinc-900 px-3 py-1 rounded-full">
Self Hosted
</span>
<span class="bg-zinc-900 px-3 py-1 rounded-full">
MIT License
</span>
</div>
<!-- Features -->
<section class="py-20 bg-zinc-900">
@@ -99,6 +115,56 @@
</div>
</section>
<!-- Install -->
<section class="py-20 bg-zinc-950 border-t border-zinc-800 border-b border-zinc-800">
<div class="max-w-4xl mx-auto px-6 text-center">
<h2 class="text-4xl font-bold mb-4">
Install BZOD
</h2>
<p class="text-zinc-400 mb-10">
Deploy on any Debian/Ubuntu VPS, homelab, mini-PC, or Raspberry Pi.
</p>
<div class="bg-black border border-zinc-800 rounded-3xl overflow-hidden">
<div class="flex items-center justify-between px-5 py-3 border-b border-zinc-800">
<span class="text-zinc-500 text-sm">
Linux Installation
</span>
<button
onclick="copyInstallCommand()"
class="text-sm bg-violet-600 hover:bg-violet-700 px-4 py-2 rounded-lg transition">
Copy
</button>
</div>
<pre class="text-left overflow-x-auto p-6 text-emerald-400 font-mono text-sm"><code id="install-command">curl -fsSL https://bzo.in/deploy.sh | sudo bash</code></pre>
</div>
<p class="text-zinc-500 text-sm mt-4">
Downloads the latest release and installs BZOD as a systemd service.
</p>
</div>
</section>
<script>
function copyInstallCommand() {
const text =
"curl -fsSL https://bzo.in/deploy.sh | sudo bash";
navigator.clipboard.writeText(text);
const btn = event.target;
const old = btn.innerText;
btn.innerText = "Copied!";
setTimeout(() => {
btn.innerText = old;
}, 2000);
}
</script>
<!-- CTA -->
<section class="py-20 bg-black border-t border-zinc-800">
<div class="max-w-2xl mx-auto text-center px-6">
@@ -121,7 +187,7 @@
<footer class="bg-zinc-950 py-12 border-t border-zinc-800">
<div class="max-w-5xl mx-auto px-6 text-center text-zinc-500 text-sm">
© 2026 BZOD • Made with ❤️ in Rust • Running on <span class="font-mono">bzo.in</span>
© 2026 BZOD • Made with ❤️ in Rust by Sunil Purushottam Thakare • Running on <span class="font-mono">bzo.in</span>
</div>
</footer>
</body>