Skip to content

Commit 67824eb

Browse files
Update README.md
1 parent 6cd9e3c commit 67824eb

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

README.md

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,3 @@
1-
# workbench-template
2-
a template for workbench apps
3-
4-
### Using for a Dotcom Codespace
5-
6-
You may want to use a production Codespace for GitHub local development. To do so, you can:
7-
8-
1. Create a github/github following your normal process for workbench (i.e. "your dotcom codespace")
9-
2. Create a codespace for Workbench Template on main. (i.e. "your workbench codespace")
10-
3. In your workbench codespace, run `utils/generate-codespace-data.sh` - this will create a TypeScript file called `utils/codespace_data.ts` with an object representing Codespace data.
11-
4. In your workbench codespace, copy the entire contents of `utils/codespace_data.ts`
12-
5. In your dotcom codespace, paste the contents you just copied into the top of `ui/packages/workbench/lsp/use-codespaces.ts`
13-
6. In your dotcom codespace, in the `ui/packages/workbench/lsp/use-codespaces.ts` file, you'll find commented out code referencing `if (process.env.NODE_ENV === 'development') {` - uncomment those if blocks.
14-
7. In the copilot workbench, you'll now be connected to your production workbench codespace for the following tasks:
15-
- terminal
16-
- live preview
17-
- build events
18-
1+
# Soark Template
2+
A template for Spark
193

20-

0 commit comments

Comments
 (0)