Skip to content

Commit 74be9f1

Browse files
committed
Updates for running Docker container locally with VSCode
1 parent 6769ef8 commit 74be9f1

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

README.md

+15-9
Original file line numberDiff line numberDiff line change
@@ -163,24 +163,30 @@ dbt docs serve
163163

164164
#### Steps
165165

166-
1. Ensure you have Codespaces enabled for your GitHub organization or turned on as a beta feature if you're an individual user
166+
1. Ensure you have [Codespaces](https://github.com/features/codespaces) enabled for your GitHub organization or turned on as a beta feature if you're an individual user
167167
2. Click the green **Code** button on near the top right of the page of this repo's homepage (you may already be on it)
168-
3. Instead of cloning the repo like you normally would, intead select the **Codespaces** tab of the pop out, then "Create codespace on `duckdb`"
168+
3. Instead of cloning the repo like you normally would, instead select the **Codespaces** tab of the pop out, then "Create codespace on `duckdb`"
169169
![dbt_full_deploy_commands](images/open_in_codespaces.png)
170170
4. Wait for codespace to boot (~1 min?)
171171
5. Decide whether you'd like to use the Web IDE or open the codespace in your local environment
172172
6. When the codespace opens, a Task pane will show up and call `dbt build` just to show you how it's done
173-
7. Decide whether or not you'd like the **dbt Power User extension** installed
174-
8. Open up a new terminal and type `dbt build`!
173+
7. Decide whether or not you'd like the recommended extensions installed (like **dbt Power User extension**)
174+
8. Open up a new terminal and type:
175+
```
176+
dbt build
177+
```
175178
9. Explore some of the bells and whistles (see below)
176179
177180
If you don't have Codespaces or would like to just run the environment in a local Docker container, you can by:
178-
1. Having Docker Desktop installed
179-
2. Install the "Remote - Containers" extension"
180-
2. Clone the repo and open it in VSCode
181-
3. Click **Reopen in Container** and wait for container to spin up
181+
1. Install [Docker Desktop](https://www.docker.com/products/docker-desktop/)
182+
2. Install the VSCode [Dev Containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) extension (formerly known as the "Remote - Containers" extension). Video tutorial [here](https://learn.microsoft.com/en-us/shows/beginners-series-to-dev-containers/installing-the-remote-containers-extension-2-of-8--beginners-series-to-dev-containers).
183+
2. Clone this repo and open it in VSCode
184+
1. First time: View > Command Palette > Remote-Containers: Open Folder in Container
185+
- Wait for container to build -- expected to take several minutes
186+
- Open a new terminal
187+
3. Subsequent times: Click **Reopen in Container** and wait for container to spin up
182188
![Reopen in Container](https://user-images.githubusercontent.com/8158673/181360469-c6f3eb94-6b65-4a8f-93a0-3438d182ee66.png)
183-
4. Continue from step 6 above
189+
1. Continue on step 7 above
184190
185191
186192
#### bells and whistles

0 commit comments

Comments
 (0)