-
Notifications
You must be signed in to change notification settings - Fork 894
feat: initial docs pages #1107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
feat: initial docs pages #1107
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
eba2d48
docs structure and edits to getting started
bpmct 1283422
draft for about page
bpmct 8cb6a88
skeleton for concepts page
bpmct 4c1b767
attempt at explaining templates
bpmct d5f5116
left-align tables
bpmct de9f3af
add best practices and variables
bpmct 892122c
update structrure
bpmct c526982
update structure
bpmct 68da32e
templates are shared
bpmct 808767e
workspaces docs
bpmct c8f1e25
remove coming soon
bpmct a803f8a
fix typos
bpmct 1bb34bd
docs structure and edits to getting started
bpmct 97f03e0
draft for about page
bpmct 0485c6c
skeleton for concepts page
bpmct 0e1bc57
attempt at explaining templates
bpmct 57d4d0f
left-align tables
bpmct fc48d53
add best practices and variables
bpmct 361decc
update structrure
bpmct 950ee85
update structure
bpmct afac7ee
templates are shared
bpmct e67dabb
workspaces docs
bpmct 325c46c
remove coming soon
bpmct e37e4a4
fix typos
bpmct c010530
Merge branch 'bpmct/docs' of https://github.com/coder/coder into bpmc…
3bf7d4f
fix typos
bpmct ebcb866
Update docs/about.md
bpmct 9c18282
remove line breaks between bullets
bpmct 3e4318a
rename variables to parameters
bpmct 8c93ae2
reduce limits
bpmct 75af45b
merge
bpmct 2ef477d
chore: edit text
c875319
Merge branch 'bpmct/docs' of https://github.com/coder/coder into bpmc…
81435b5
revert some changes, fix footnotes
bpmct File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
workspaces docs
- Loading branch information
commit e67dabbe8a1308226d5e70fcaa29016db6cd7c5d
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,59 @@ | ||
# Workspaces | ||
|
||
Coder users create workspaces | ||
Workspaces contain the dependencies, IDEs, and configuration information needed for software development. | ||
|
||
## Managing workspaces | ||
## Create workspaces | ||
|
||
Each Coder user has their own workspaces, created from a shared [template](./templates.md). | ||
|
||
```sh | ||
# create a workspace from template, specify any variables | ||
coder workspaces create <workspace-name> | ||
|
||
# show the resources behind the workspace, and how to connect | ||
coder workspaces show <workspace-name> | ||
``` | ||
|
||
## Connect with SSH | ||
|
||
Once Coder workspaces are added to your SSH hosts, you can connect from any IDE with remote development support. | ||
|
||
```sh | ||
coder config-ssh | ||
|
||
ssh coder.<workspace-name> | ||
``` | ||
|
||
## Editors and IDEs | ||
|
||
The following desktop IDEs have been tested with Coder. Any IDE with SSH support should work! | ||
|
||
- VS Code (with [Remote - SSH](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh) extension) | ||
- JetBrains (with [Gateway](https://www.jetbrains.com/help/idea/remote-development-a.html#launch_gateway) installed) | ||
- IntelliJ IDEA | ||
- CLion | ||
- GoLand | ||
- PyCharm | ||
- Rider | ||
- RubyMine | ||
- WebStorm | ||
|
||
## Workspace lifecycle | ||
|
||
Workspaces in Coder are started and stopped, often based on activity or when a [template update](./templates.md#manage-templates) is available. | ||
|
||
While the exact behavior depends on the template, resources are often destroyed and re-created when a workspace is restarted. For more details, see [persistent and ephemeral resources](./templates.md#persistent-and-ephemeral-resources). | ||
|
||
> ⚠️ To avoid data loss, reference your template documentation to see where to store files, install software, etc. Default templates are documented in [../examples](../examples/). | ||
> | ||
> You can use `coder workspace show <workspace-name>` to see which resources are persistent vs ephemeral. | ||
|
||
When a workspace is deleted, all of the workspace's resources are deleted. | ||
|
||
## Updating workspaces | ||
|
||
Use the following command to update a workspace to the latest version of a template. The workspace will be stopped and started. | ||
|
||
```sh | ||
coder workspaces update <workspace-name> | ||
``` |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.