diff --git a/docs/.style/style-guide/word-choice.md b/docs/.style/style-guide/word-choice.md index 374c4818bf6..48accb70c65 100644 --- a/docs/.style/style-guide/word-choice.md +++ b/docs/.style/style-guide/word-choice.md @@ -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`. diff --git a/docs/about/why-coder.md b/docs/about/why-coder.md deleted file mode 100644 index 94dd8e58b62..00000000000 --- a/docs/about/why-coder.md +++ /dev/null @@ -1,3 +0,0 @@ -# Why use Coder - -TODO: Make this page! diff --git a/docs/images/start/create-workspace.png b/docs/images/start/create-workspace.png deleted file mode 100644 index c9e765bc1a1..00000000000 Binary files a/docs/images/start/create-workspace.png and /dev/null differ diff --git a/docs/images/start/setup-page.png b/docs/images/start/setup-page.png deleted file mode 100644 index b668ccde964..00000000000 Binary files a/docs/images/start/setup-page.png and /dev/null differ diff --git a/docs/images/start/template-preview.png b/docs/images/start/template-preview.png deleted file mode 100644 index ea02b75fc05..00000000000 Binary files a/docs/images/start/template-preview.png and /dev/null differ diff --git a/docs/images/start/workspace-ready.png b/docs/images/start/workspace-ready.png deleted file mode 100644 index 5e8fe2b0bb3..00000000000 Binary files a/docs/images/start/workspace-ready.png and /dev/null differ diff --git a/docs/images/templates/build-template.png b/docs/images/templates/build-template.png deleted file mode 100644 index 53052794d06..00000000000 Binary files a/docs/images/templates/build-template.png and /dev/null differ diff --git a/docs/images/templates/edit-files.png b/docs/images/templates/edit-files.png deleted file mode 100644 index e9ae92a72ef..00000000000 Binary files a/docs/images/templates/edit-files.png and /dev/null differ diff --git a/docs/images/templates/edit-source-code.png b/docs/images/templates/edit-source-code.png deleted file mode 100644 index 6eafd4caaea..00000000000 Binary files a/docs/images/templates/edit-source-code.png and /dev/null differ diff --git a/docs/images/templates/publish.png b/docs/images/templates/publish.png deleted file mode 100644 index 49ef74c1342..00000000000 Binary files a/docs/images/templates/publish.png and /dev/null differ diff --git a/docs/images/templates/select-template.png b/docs/images/templates/select-template.png deleted file mode 100644 index 4210064de84..00000000000 Binary files a/docs/images/templates/select-template.png and /dev/null differ diff --git a/docs/images/templates/source-code.png b/docs/images/templates/source-code.png deleted file mode 100644 index 641b97171c0..00000000000 Binary files a/docs/images/templates/source-code.png and /dev/null differ diff --git a/docs/start/first-template.md b/docs/start/first-template.md deleted file mode 100644 index 1936c27cd92..00000000000 --- a/docs/start/first-template.md +++ /dev/null @@ -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. - -![Template builder base selection](../images/templatebuilder_01_bases.png) - -## 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. - -![Template builder module selection](../images/templatebuilder_02_modules.png) - -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. - -![Template builder customizations](../images/templatebuilder_04_customizations.png) - -## 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. - -![Selecting the first template](../images/templates/select-template.png) - -In the drop-down menu, select **Edit files**. - -![Edit template files](../images/templates/edit-files.png) - -Expand the **build** directory and select **Dockerfile**. - -![Selecting source code](../images/templates/source-code.png) - -Edit `build/Dockerfile` to replace `golang` with `python3`. - -![Editing source code](../images/templates/edit-source-code.png) - -Select **Build template** and wait for Coder to prepare the template for -workspaces. - -![Building a template](../images/templates/build-template.png) - -Select **Publish version**. In the **Publish new version** dialog, make sure -**Promote to active version** is checked then select **Publish**. - -![Publish a template](../images/templates/publish.png) - -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) diff --git a/docs/start/first-workspace.md b/docs/start/first-workspace.md deleted file mode 100644 index a001ab28b80..00000000000 --- a/docs/start/first-workspace.md +++ /dev/null @@ -1,69 +0,0 @@ - - -# 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**. - -![Template Preview](../images/start/template-preview.png) - -In **New workspace**, fill in **Name** then scroll down to select **Create -Workspace**. - -![Create Workspace](../images/start/create-workspace.png) - -Coder starts your new workspace from your template. - -After a few seconds, your workspace is ready to use. - -![Workspace is ready](../images/start/workspace-ready.png) - -## 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) diff --git a/docs/start/local-deploy.md b/docs/start/local-deploy.md deleted file mode 100644 index abe7bafd161..00000000000 --- a/docs/start/local-deploy.md +++ /dev/null @@ -1,66 +0,0 @@ - - -# 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. - -
- -## 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 -``` - -
- -## 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. - -![Coder login screen](../images/start/setup-page.png) - -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. diff --git a/docs/tutorials/example-guide.md b/docs/tutorials/example-guide.md deleted file mode 100644 index c7a1cd49c76..00000000000 --- a/docs/tutorials/example-guide.md +++ /dev/null @@ -1,59 +0,0 @@ -# Guide Title (Only Visible in GitHub) - -
- - Your Name - -
-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. - - - -### Add photos - -Use relative imports in the markdown and store photos in -`docs/images/guides//.png`. - - - -### 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 `` element can -be omitted. - - - -## 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.