Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix(dev): show the Lima VM start command on the localhost server page

Andras Bacsaia70f882f7b84
diff --git a/resources/views/livewire/server/partials/localhost-general.blade.php b/resources/views/livewire/server/partials/localhost-general.blade.php
index fef1609998..3876b4edbe 100644
--- a/resources/views/livewire/server/partials/localhost-general.blade.php
+++ b/resources/views/livewire/server/partials/localhost-general.blade.php
@@ -13,6 +13,13 @@
:type="$server->isFunctional() ? 'success' : 'warning'" />
</x-slot:actions>
+ @if ($this->limaStartCommand)
+ <x-callout type="info" title="Start this Lima VM locally" class="mb-4">
+ <code
+ class="mt-2 block overflow-x-auto rounded-lg bg-neutral-950 px-3 py-2 font-mono text-[11px] text-neutral-200">{{ $this->limaStartCommand }}</code>
+ </x-callout>
+ @endif
+
<div class="flex items-start gap-3">
<div
class="flex size-9 shrink-0 items-center justify-center rounded-lg bg-neutral-100 text-neutral-600 dark:bg-white/[0.06] dark:text-fg-dim">