Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions apps/docs/content/tutorials/en/deploy.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title: One-click deploy
description: Pick a deploy backend, configure a profile, and ship one project with one deploy. The shortest path.
---

<VideoEmbed provider="youtube" videoId="6Fp76iknXXg" title="Deploy a project with one deploy" />

This tutorial walks one project to one target. The full menu — all 10 deploy backends, per-project flags, multi-environment trees — lives in [Multi-backend deploy](/en/tutorials/deploy-multi-backend/) (advanced).

We'll pick the deploy backend that matches your project's template default. Each template ships with a sensible default; you can override later.
Expand Down
2 changes: 2 additions & 0 deletions apps/docs/content/tutorials/en/first-workspace.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title: Manual workspace
description: Run one create yourself in the terminal. See what gets written to disk, what manifest it produces, and what default backends get wired.
---

<VideoEmbed provider="youtube" videoId="aWwMxfFQW1g" title="Create a One CLI workspace manually" />

This tutorial covers exactly one command: `one create`. Picking which templates to use is the [previous chapter](/en/tutorials/templates/); deploying for the first time is the [next chapter](/en/tutorials/deploy/).

## 1. Install the CLI
Expand Down
2 changes: 2 additions & 0 deletions apps/docs/content/tutorials/en/skills-install.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title: Install one cli skill
description: Run one skills install so Claude Code, Cursor, Codex (and 50+ other coding agents) can drive One CLI for you.
---

<VideoEmbed provider="youtube" videoId="vUUqqBilNrk" title="Install the one-cli skill for coding agents" />

The `one-cli` skill is a bundled agent skill — a markdown package that teaches a coding agent how to use One CLI safely (read JSON output, recover from error codes, pick the right template, install dependencies for the right toolchain). Once it's installed, you can say "add a NestJS API called user-api" and the agent runs `one add nestjs-api --name user-api -o json` for you.

`one create` already runs the equivalent of this command for detected agents. This tutorial is for cases where you want to install it explicitly, or to install to additional agents later.
Expand Down
2 changes: 2 additions & 0 deletions apps/docs/content/tutorials/en/templates.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title: One-click workspace
description: Pick a template and deploy target on the templates page, then copy the generated one create command into your terminal — no config files to touch.
---

<VideoEmbed provider="youtube" videoId="F2-RrInEnd4" title="Pick a One CLI template and copy a one create command" />

This is the page you open before you create a workspace. It does two things:

1. Shows the **preset templates** One CLI ships with — what each one is, what stack it uses, where it can deploy.
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/components/video-embed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function VideoEmbed({ provider, videoId, title }: VideoEmbedProps) {
allow="autoplay; encrypted-media; picture-in-picture; fullscreen"
allowFullScreen
loading="lazy"
referrerPolicy="no-referrer"
referrerPolicy="strict-origin-when-cross-origin"
src={src}
title={title ?? "Tutorial video"}
/>
Expand Down
Loading