docs: delete unlisted pages and their screenshots (#30758)
Deletes seven docs files and 10 screenshots that are not in the docs manifest and are superseded or empty: - `docs/about/why-coder.md`: a TODO stub. The one link to it, a "Do" example in the style guide, now names its source in plain text. - `docs/tutorials/example-guide.md`: a contributor template with no inbound links. Its guidance is recorded in DOCS-1207 for a tutorial section in `contributing/documentation.md`, which is still to write. - `docs/start/first-template.md` and six step 6 screenshots in `docs/images/templates/`. Content is cataloged in DOCS-1209 for the Templates landing page. - `docs/start/first-workspace.md` and three screenshots in `docs/images/start/`. Content is cataloged in DOCS-1208 for the Workspaces landing page. - `docs/start/local-deploy.md` and `docs/images/start/setup-page.png`. Redundant with `get-started/` and `install/cli.md`. The deleted files stay recoverable at `adcce66826`. This replaces #30710, #30711, #30712, #30713 and #30714, which are closed in favor of this PR. Linear: DOCS-1205, DOCS-1206, DOCS-1207, DOCS-1211, DOCS-1212. Related: DOCS-1208, DOCS-1209. I ran `lint/docs-html`, `lint/docs-manifest`, `lint/docs-redirects` and `lint/emdash` locally. > Generated by Coder Agents on behalf of @nickvigilante.
No files matched your search
@@ -449,7 +449,7 @@ Replace with the specific condition, or remove the qualifier and accept the stat
|
||||
|
||||
> The Coder agent reconnects within 30 seconds of a network drop.
|
||||
>
|
||||
> The [Coder benchmarks](../../about/why-coder.md) show a 40% reduction in onboarding time for new developers.
|
||||
> The Coder benchmarks show a 40% reduction in onboarding time for new developers.
|
||||
>
|
||||
> The provisioner runs `terraform plan` before `terraform apply`.
|
||||
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
# Why use Coder
|
||||
|
||||
TODO: Make this page!
|
||||
|
Before Width: | Height: | Size: 277 KiB |
|
Before Width: | Height: | Size: 140 KiB |
|
Before Width: | Height: | Size: 251 KiB |
|
Before Width: | Height: | Size: 245 KiB |
|
Before Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 59 KiB |
@@ -1,100 +0,0 @@
|
||||
# Your first template
|
||||
|
||||
The fastest way to create a template is with the template builder. The builder
|
||||
guides you through selecting base infrastructure, adding modules for IDEs and
|
||||
tools, and configuring your template, all without writing Terraform. Once your
|
||||
template is up and running, you can edit it in the Coder dashboard. Coder
|
||||
handles versioning for you so you can publish official updates or revert to
|
||||
previous versions.
|
||||
|
||||
In this tutorial, you'll create your first template from the Docker base
|
||||
template using the template builder.
|
||||
|
||||
## Before you start
|
||||
|
||||
Use the [previous section](./local-deploy.md) of this guide to set up
|
||||
[Docker](https://docs.docker.com/get-docker/) and [Coder](../install/cli.md) on
|
||||
your local machine to continue.
|
||||
|
||||
## 1. Log in to Coder
|
||||
|
||||
In your web browser, go to your Coder dashboard using the URL provided during
|
||||
setup to log in.
|
||||
|
||||
## 2. Open the template builder
|
||||
|
||||
Select **Templates** then **New Template**. The template builder opens and
|
||||
displays a list of base infrastructure templates.
|
||||
|
||||

|
||||
|
||||
## 3. Select a base template
|
||||
|
||||
Select the **Docker Containers** base template. This provides a working
|
||||
Docker-based workspace with the Coder agent pre-configured.
|
||||
|
||||
## 4. Add modules (optional)
|
||||
|
||||
The builder shows a list of available modules grouped by category. You can add
|
||||
IDEs like **code-server** (VS Code in the browser) or tools like **git-clone**.
|
||||
For your first template, you can skip this step and add modules later.
|
||||
|
||||

|
||||
|
||||
Select **Continue** to proceed.
|
||||
|
||||
## 5. Create your template
|
||||
|
||||
On the final step, fill in **Name** and **Display name**, then select
|
||||
**Create Template**. Coder composes the Terraform configuration, validates it,
|
||||
and creates your template.
|
||||
|
||||

|
||||
|
||||
## 6. Modify your template
|
||||
|
||||
Now you can modify your template to suit your team's needs.
|
||||
|
||||
Let's replace the `golang` package in the Docker image with the `python3`
|
||||
package. You can do this by editing the template's `Dockerfile` directly in your
|
||||
web browser.
|
||||
|
||||
In the Coder dashboard, select **Templates** then your first template.
|
||||
|
||||

|
||||
|
||||
In the drop-down menu, select **Edit files**.
|
||||
|
||||

|
||||
|
||||
Expand the **build** directory and select **Dockerfile**.
|
||||
|
||||

|
||||
|
||||
Edit `build/Dockerfile` to replace `golang` with `python3`.
|
||||
|
||||

|
||||
|
||||
Select **Build template** and wait for Coder to prepare the template for
|
||||
workspaces.
|
||||
|
||||

|
||||
|
||||
Select **Publish version**. In the **Publish new version** dialog, make sure
|
||||
**Promote to active version** is checked then select **Publish**.
|
||||
|
||||

|
||||
|
||||
Now when developers create a new workspace from this template, they can use
|
||||
Python 3 instead of Go.
|
||||
|
||||
For developers with workspaces that were created with a previous version of your
|
||||
template, Coder will notify them that there's a new version of the template.
|
||||
|
||||
You can also handle
|
||||
[change management](../admin/templates/managing-templates/change-management.md)
|
||||
through your own repo and continuous integration.
|
||||
|
||||
## Next steps
|
||||
|
||||
- [Setting up templates](../admin/templates/creating-templates.md)
|
||||
@@ -1,69 +0,0 @@
|
||||
<a id="creating-your-first-coder-workspace"></a>
|
||||
|
||||
# Create your first Coder workspace
|
||||
|
||||
A workspace is the environment that a developer works in. Developers in a team
|
||||
each work from their own workspace and can use
|
||||
[multiple IDEs](../user-guides/workspace-access/index.md).
|
||||
|
||||
A developer creates a workspace from a
|
||||
[shared template](../admin/templates/index.md). This lets an entire team work in
|
||||
environments that are identically configured and provisioned with the same
|
||||
resources.
|
||||
|
||||
## Before you begin
|
||||
|
||||
This guide will use the Docker template from the
|
||||
[previous step](../tutorials/template-from-scratch.md) to create and connect to
|
||||
a Coder workspace.
|
||||
|
||||
## 1. Create a workspace from your template through the GUI
|
||||
|
||||
You can create a workspace in the UI. Log in to your Coder instance, go to the
|
||||
**Templates** tab, find the template you need, and select **Create Workspace**.
|
||||
|
||||

|
||||
|
||||
In **New workspace**, fill in **Name** then scroll down to select **Create
|
||||
Workspace**.
|
||||
|
||||

|
||||
|
||||
Coder starts your new workspace from your template.
|
||||
|
||||
After a few seconds, your workspace is ready to use.
|
||||
|
||||

|
||||
|
||||
## 2. Try out your new workspace
|
||||
|
||||
The Docker template lets you connect to your workspace in a few ways:
|
||||
|
||||
- VS Code Desktop: Loads your workspace into
|
||||
[VS Code Desktop](https://code.visualstudio.com/Download) installed on your
|
||||
local computer.
|
||||
- code-server: Opens
|
||||
[browser-based VS Code](../user-guides/workspace-access/web-ides.md#code-server)
|
||||
with your workspace.
|
||||
- Terminal: Opens a browser-based terminal with a shell in the workspace's
|
||||
Docker instance.
|
||||
- JetBrains Gateway: Opens JetBrains IDEs via JetBrains Gateway.
|
||||
- SSH: Use SSH to log in to the workspace from your local machine. If you
|
||||
haven't already, you'll have to install Coder on your local machine to
|
||||
configure your SSH client.
|
||||
|
||||
> [!TIP]
|
||||
> You can edit the template to let developers connect to a workspace in
|
||||
> [a few more ways](../admin/templates/extending-templates/web-ides.md).
|
||||
|
||||
## 3. Modify your workspace settings
|
||||
|
||||
Developers can modify attributes of their workspace including update policy,
|
||||
scheduling, and parameters which define their development environment.
|
||||
|
||||
Once you're finished, you can stop your workspace.
|
||||
|
||||
## Next Steps
|
||||
|
||||
- Creating workspaces with the [CLI](../reference/cli/create.md)
|
||||
- Creating workspaces with the [API](../reference/api/workspaces.md)
|
||||
@@ -1,66 +0,0 @@
|
||||
<a id="setting-up-a-coder-deployment"></a>
|
||||
|
||||
# Set up a Coder deployment
|
||||
|
||||
For day-zero Coder users, we recommend following this guide to set up a local
|
||||
Coder deployment from our
|
||||
[open source repository](https://github.com/coder/coder).
|
||||
|
||||
We'll use [Docker](https://docs.docker.com/engine) to manage the compute for a
|
||||
slim deployment to experiment with [workspaces](../user-guides/index.md) and
|
||||
[templates](../admin/templates/index.md).
|
||||
|
||||
Docker is not necessary for every Coder deployment and is only used here for
|
||||
simplicity.
|
||||
|
||||
## Install Coder daemon
|
||||
|
||||
First, install [Docker](https://docs.docker.com/engine/install/) locally.
|
||||
|
||||
If you already have the Coder binary installed, restart it after installing Docker.
|
||||
|
||||
<div class="tabs">
|
||||
|
||||
## Linux/macOS
|
||||
|
||||
Our install script is the fastest way to install Coder on Linux/macOS:
|
||||
|
||||
```sh
|
||||
curl -fsSL https://coder.com/install.sh | sh
|
||||
```
|
||||
|
||||
## Windows
|
||||
|
||||
If you plan to use the built-in PostgreSQL database, ensure that the
|
||||
[Visual C++ Runtime](https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist#latest-microsoft-visual-c-redistributable-version)
|
||||
is installed.
|
||||
|
||||
You can use the
|
||||
[`winget`](https://learn.microsoft.com/en-us/windows/package-manager/winget/#use-winget)
|
||||
package manager to install Coder:
|
||||
|
||||
```ps1
|
||||
winget install Coder.Coder
|
||||
```
|
||||
|
||||
</div>
|
||||
|
||||
## Start the server
|
||||
|
||||
To start or restart the Coder deployment, use the following command:
|
||||
|
||||
```sh
|
||||
coder server
|
||||
```
|
||||
|
||||
The output will provide you with an access URL to create your first
|
||||
administrator account.
|
||||
|
||||

|
||||
|
||||
Once you've signed in, you'll be brought to an empty workspaces page, which
|
||||
we'll soon populate with your first development environments.
|
||||
|
||||
## Next steps
|
||||
|
||||
TODO: Add link to next page.
|
||||
@@ -1,59 +0,0 @@
|
||||
# Guide Title (Only Visible in GitHub)
|
||||
|
||||
<div>
|
||||
<a href="https://github.com/coder" style="text-decoration: none; color: inherit;">
|
||||
<span style="vertical-align:middle;">Your Name</span>
|
||||
</a>
|
||||
</div>
|
||||
December 13, 2023
|
||||
|
||||
---
|
||||
|
||||
This is a guide on how to make Coder guides, it is not listed on our
|
||||
[official tutorials page](../tutorials/index.md) in the docs. Intended for those
|
||||
who don't frequently contribute documentation changes to the `coder/coder`
|
||||
repository.
|
||||
|
||||
## Content
|
||||
|
||||
Defer to our [documentation style guide](https://github.com/coder/coder/blob/main/contributing/documentation.md) page
|
||||
for rules on technical writing.
|
||||
|
||||
<a id="adding-photos"></a>
|
||||
|
||||
### Add photos
|
||||
|
||||
Use relative imports in the markdown and store photos in
|
||||
`docs/images/guides/<your_guide>/<image>.png`.
|
||||
|
||||
<a id="setting-the-author-data"></a>
|
||||
|
||||
### Set the author data
|
||||
|
||||
At the top of this example you will find a small html snippet that nicely
|
||||
renders the author's name and photo, while linking to their GitHub profile.
|
||||
Before submitting your guide in a PR, replace `your_github_handle`,
|
||||
`your_github_profile_photo_url` and "Your Name". The entire `<img>` element can
|
||||
be omitted.
|
||||
|
||||
<a id="setting-up-the-routes"></a>
|
||||
|
||||
## Set up the routes
|
||||
|
||||
Once you've written your guide, you'll need to add its route to
|
||||
`docs/manifest/tutorials.yml` under `children`:
|
||||
|
||||
```yaml
|
||||
# The title overrides the "# Guide Title" at the top of this file.
|
||||
- title: Contributing to Guides
|
||||
description: How to add a guide
|
||||
path: ./tutorials/my-guide-file.md
|
||||
```
|
||||
|
||||
Then run `make gen/docs-manifest` to format the sidebar sources and rebuild
|
||||
`docs/manifest.json`.
|
||||
|
||||
## Format before push
|
||||
|
||||
Before pushing your guide to github, run `make fmt` to format the files with
|
||||
Prettier. Then, push your changes to a new branch and create a PR.
|
||||