Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 018f7db

Browse files
committed
more formats
1 parent 5ef4945 commit 018f7db

File tree

1 file changed

+23
-18
lines changed

1 file changed

+23
-18
lines changed

docs/tutorials/quickstart.md

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -245,24 +245,29 @@ resource and parameter.
245245

246246
Coder maintains the [Tasks on Docker](https://registry.coder.com/templates/coder-labs/tasks-docker?_gl=1*19yewmn*_gcl_au*MTc0MzUwMTQ2NC4xNzU2MzA3MDkxLjk3NTM3MjgyNy4xNzU3Njg2NDY2LjE3NTc2ODc0Mzc.*_ga*NzUxMDI1NjIxLjE3NTYzMDcwOTE.*_ga_FTQQJCDWDM*czE3NTc3MDg4MDkkbzQ1JGcxJHQxNzU3NzA4ODE4JGo1MSRsMCRoMA..) template which has Anthropic's Claude Code agent built in with a sample application. Let's try using this template by pulling it from Coder's Registry of public templates, and pushing it to your local server:
247247

248-
1. **Push the Template to your Coder Deployment**:
249-
1. In the upper right hand corner, click **Use this template**
250-
1. Open a terminal on your machine
251-
1. Ensure your CLI is authenticated with your Coder deployment by [logging in](https://coder.com/docs/reference/cli/login)
252-
1. Create an [API Key with Anthropic](https://console.anthropic.com/)
253-
1. Head to the [Tasks on Docker](https://registry.coder.com/templates/coder-labs/tasks-docker?_gl=1*19yewmn*_gcl_au*MTc0MzUwMTQ2NC4xNzU2MzA3MDkxLjk3NTM3MjgyNy4xNzU3Njg2NDY2LjE3NTc2ODc0Mzc.*_ga*NzUxMDI1NjIxLjE3NTYzMDcwOTE.*_ga_FTQQJCDWDM*czE3NTc3MDg4MDkkbzQ1JGcxJHQxNzU3NzA4ODE4JGo1MSRsMCRoMA..) template
254-
1. Clone the Coder Registry repo to your local machine
255-
```hcl
256-
git clone https://github.com/coder/registry.git
257-
```
258-
1. Switch to the template directory
259-
```hcl
260-
cd registry/registry/coder-labs/templates/tasks-docker
261-
```
262-
1. Push the template to your Coder deployment. Note: this command differs from the registry since we're defining the Anthropic API Key as an environment variable
263-
```hcl
264-
coder template push tasks-docker -d . --variable anthropic_api_key="your-api-key"
265-
```
248+
1. In the upper right hand corner, click **Use this template**
249+
1. Open a terminal on your machine
250+
1. Ensure your CLI is authenticated with your Coder deployment by [logging in](https://coder.com/docs/reference/cli/login)
251+
1. Create an [API Key with Anthropic](https://console.anthropic.com/)
252+
1. Head to the [Tasks on Docker](https://registry.coder.com/templates/coder-labs/tasks-docker?_gl=1*19yewmn*_gcl_au*MTc0MzUwMTQ2NC4xNzU2MzA3MDkxLjk3NTM3MjgyNy4xNzU3Njg2NDY2LjE3NTc2ODc0Mzc.*_ga*NzUxMDI1NjIxLjE3NTYzMDcwOTE.*_ga_FTQQJCDWDM*czE3NTc3MDg4MDkkbzQ1JGcxJHQxNzU3NzA4ODE4JGo1MSRsMCRoMA..) template
253+
1. Clone the Coder Registry repo to your local machine
254+
255+
```hcl
256+
git clone https://github.com/coder/registry.git
257+
```
258+
259+
1. Switch to the template directory
260+
261+
```hcl
262+
cd registry/registry/coder-labs/templates/tasks-docker
263+
```
264+
265+
1. Push the template to your Coder deployment. Note: this command differs from the registry since we're defining the Anthropic API Key as an environment variable
266+
267+
```hcl
268+
coder template push tasks-docker -d . --variable anthropic_api_key="your-api-key"
269+
```
270+
266271
1. **Create the new Workspace**
267272
1. In your Coder Deployment, click **Workspaces** in the upper left hand corner
268273
1. Click **New workspace** and choose **tasks-docker**

0 commit comments

Comments
 (0)