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
+57-19Lines changed: 57 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,24 +7,46 @@ Runnable examples live in [`examples/`](./examples).
7
7
8
8
## Table of Contents
9
9
10
-
-[Blueprint with Build Context](#blueprint-with-build-context)
11
-
-[Devbox From Blueprint (Run Command, Shutdown)](#devbox-from-blueprint-lifecycle)
12
-
<<<<<<< HEAD
13
-
-[Devbox Tunnel (HTTP Server Access)](#devbox-tunnel)
14
-
=======
15
-
-[Devbox Snapshot and Resume](#devbox-snapshot-resume)
16
-
>>>>>>> main
17
-
-[MCP Hub + Claude Code + GitHub](#mcp-github-tools)
18
-
-[Secrets with Devbox (Create, Inject, Verify, Delete)](#secrets-with-devbox)
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)
19
39
20
40
<aid="blueprint-with-build-context"></a>
41
+
21
42
## Blueprint with Build Context
22
43
23
44
**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
94
125
- Validate the response
95
126
- Shutdown the devbox
96
-
=======
97
-
<aid="devbox-snapshot-resume"></a>
127
+
<aid="devbox-snapshot-resume"></a>
128
+
98
129
## Devbox Snapshot and Resume
99
130
100
131
**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.
0 commit comments