* feat(frontend): Run page v2 * feat(frontend): Run page v2 * feat(frontend): Run page v2 * feat(frontend): migrate script details * feat(frontend): migrate script details * feat(frontend): done * feat(frontend): revert * feat(frontend): fix archive script * feat(frontend): remove old run page * feat(frontend): Update wording * feat(frontend): done * feat(frontend): Remove buttons for operator mode * feat(frontend): Fix spacing + add protocol * feat(frontend): Fix build
28 lines
871 B
Svelte
28 lines
871 B
Svelte
<script lang="ts">
|
|
import { page } from '$app/stores'
|
|
import { workspaceStore } from '$lib/stores'
|
|
import InlineCodeCopy from './InlineCodeCopy.svelte'
|
|
|
|
$: url = `${$page.url.protocol}//${$page.url.hostname}/`
|
|
</script>
|
|
|
|
<div>
|
|
<div class="text-sm font-semibold"> CLI quick setup </div>
|
|
<div class="text-sm text-gray-600" role="alert" id="dynamic-input-help-box">
|
|
<ul class="pl-0 pt-2 list-decimal list-inside">
|
|
<li
|
|
>Install the latest wmill CLI from deno.land: <InlineCodeCopy
|
|
content={'deno install --unstable -A https://deno.land/x/wmill/main.ts'}
|
|
/></li
|
|
>
|
|
<li
|
|
>Setup the wmill cli for this workspace & remote: <InlineCodeCopy
|
|
content={`wmill workspace add ${$workspaceStore} ${$workspaceStore} ${url}`}
|
|
/></li
|
|
>
|
|
<li>Follow the prompts in your terminal</li>
|
|
<li>Use the run command above!</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|