You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: EXAMPLES.md
+36-72Lines changed: 36 additions & 72 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,46 +7,21 @@ Runnable examples live in [`examples/`](./examples).
7
7
8
8
## Table of Contents
9
9
10
-
-[Examples](#examples)
11
-
-[Table of Contents](#table-of-contents)
12
-
-[Blueprint with Build Context](#blueprint-with-build-context)
13
-
-[Workflow](#workflow)
14
-
-[Prerequisites](#prerequisites)
15
-
-[Run](#run)
16
-
-[Test](#test)
17
-
-[Devbox From Blueprint (Run Command, Shutdown)](#devbox-from-blueprint-run-command-shutdown)
18
-
-[Workflow](#workflow-1)
19
-
-[Prerequisites](#prerequisites-1)
20
-
-[Run](#run-1)
21
-
-[Test](#test-1)
22
-
-[Devbox Tunnel (HTTP Server Access)](#devbox-tunnel-http-server-access)
23
-
-[Workflow](#workflow-2)
24
-
-[Devbox Snapshot and Resume](#devbox-snapshot-and-resume)
25
-
-[Workflow](#workflow-3)
26
-
-[Prerequisites](#prerequisites-2)
27
-
-[Run](#run-2)
28
-
-[Test](#test-2)
29
-
-[MCP Hub + Claude Code + GitHub](#mcp-hub--claude-code--github)
30
-
-[Workflow](#workflow-4)
31
-
-[Prerequisites](#prerequisites-3)
32
-
-[Run](#run-3)
33
-
-[Test](#test-3)
34
-
-[Secrets with Devbox (Create, Inject, Verify, Delete)](#secrets-with-devbox-create-inject-verify-delete)
35
-
-[Workflow](#workflow-5)
36
-
-[Prerequisites](#prerequisites-4)
37
-
-[Run](#run-4)
38
-
-[Test](#test-4)
10
+
-[Blueprint with Build Context](#blueprint-with-build-context)
11
+
-[Devbox From Blueprint (Run Command, Shutdown)](#devbox-from-blueprint-lifecycle)
12
+
-[Devbox Snapshot and Resume](#devbox-snapshot-resume)
13
+
-[Devbox Tunnel (HTTP Server Access)](#devbox-tunnel)
14
+
-[MCP Hub + Claude Code + GitHub](#mcp-github-tools)
15
+
-[Secrets with Devbox (Create, Inject, Verify, Delete)](#secrets-with-devbox)
39
16
40
17
<aid="blueprint-with-build-context"></a>
41
-
42
18
## Blueprint with Build Context
43
19
44
20
**Use case:** Create a blueprint using the object store to provide docker build context files, then verify files are copied into the image. Uses the async SDK.
**Use case:** Create a devbox, start an HTTP server, enable a tunnel, and access the server from the local machine through the tunnel. Uses the async SDK.
- Make an HTTP request from the local machine through the tunnel
125
-
- Validate the response
126
-
- Shutdown the devbox
127
-
<aid="devbox-snapshot-resume"></a>
128
-
78
+
<aid="devbox-snapshot-resume"></a>
129
79
## Devbox Snapshot and Resume
130
80
131
81
**Use case:** Create a devbox, snapshot its disk, resume from the snapshot, and demonstrate that changes in the original devbox do not affect the clone. Uses the async SDK.
**Use case:** Create a devbox, start an HTTP server, enable a tunnel, and access the server from the local machine through the tunnel. Uses the async SDK.
0 commit comments