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: docs/install.md
+7-2
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ This article walks you through the various ways of installing and deploying Code
4
4
5
5
## install.sh
6
6
7
-
The easiest way to install Coder is to use our [install script](https://github.com/coder/coder/main/install.sh) for Linux and macOS. The install script
7
+
The easiest way to install Coder is to use our [install script](https://github.com/coder/coder/blob/main/install.sh) for Linux and macOS. The install script
8
8
attempts to use the system package manager detection-reference if possible.
9
9
10
10
You can preview what occurs during the install process:
@@ -120,5 +120,10 @@ We publish self-contained .zip and .tar.gz archives in [GitHub releases](https:/
Copy file name to clipboardExpand all lines: docs/quickstart.md
+22-6
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,10 @@
1
1
# Quickstart
2
2
3
-
This guide will walk you through creating your first template and workspace. If you haven't already installed `coder`, do that first [here](./install.md).
3
+
This guide will walk you through creating your first template and workspace.
4
+
5
+
## Prerequisites
6
+
7
+
Please [install Coder](./install.md) before proceeding with the steps outlined in this article.
4
8
5
9
## Creating your first template and workspace
6
10
@@ -10,8 +14,13 @@ In a new terminal window, run the following to copy a sample template:
10
14
coder templates init
11
15
```
12
16
13
-
Follow the CLI instructions to modify and create the template specific for your
14
-
usage (e.g., a template to **Develop in Linux on Google Cloud**).
17
+
Follow the CLI instructions to select an example that you can modify for your
18
+
specific usage (e.g., a template to **Develop code-server in Docker**):
19
+
20
+
1. Navigate into your new templates folder and create your first template using
21
+
the provided command (e.g., `cd ./docker-code-server && coder templates create`)
22
+
23
+
1. Answer the CLI prompts; when done, confirm that you want to create your template.
15
24
16
25
Create a workspace using your template:
17
26
@@ -25,13 +34,20 @@ Connect to your workspace via SSH:
25
34
coder ssh <workspaceName>
26
35
```
27
36
37
+
You can also access your workspace using the **access URL** you provided when
38
+
deploying Coder (if you're using a temporary deployment and you opted to use
39
+
Coder's tunnel, use the access URL you were provided). Log in with the admin
40
+
credentials provided to you by Coder.
41
+
42
+

43
+
28
44
## Modifying templates
29
45
30
-
If needed, you can edit the Terraform template using a sample template:
46
+
You can edit the Terraform template as follows:
31
47
32
48
```sh
33
49
coder templates init
34
-
cd gcp-linux/
50
+
cd gcp-linux# modify this line as needed to access the template
35
51
vim main.tf
36
-
coder templates update gcp-linux
52
+
coder templates update gcp-linux# updates the template
0 commit comments