mirror of
https://github.com/coder/coder.git
synced 2026-09-22 13:10:21 +08:00
b06ef0ae6eddfbb918edf97e0bcf6fae649d3466
* Move component and prep * Make WorkspaceSection more reusable * Lay out elements * Layout tweaks * Add outdated to Workspace type * Fill out status bar component * Format * Add transition to types * Add api handlers for build toggle * Format * Parallelize machine * Lay out basics of build submachine * Pipe start and stop events through - needs status * Attempt at a machine It's so big, but collapsing start and stop made it hard to distinguish retry from toggle * Update mock * Render status and buttons * Fix type error on template page * Move Settings * Format * Keep refreshed workspace * Make it switch workspaces * Lint * Fix relative api path * Test * Fix polling * Add loading workspace state * Format * Add stub settings page * Format * Lint * Get rid of let * Add update * Make start use version id Important for update * Fix imports * Add polling for outdated * Rely on context instead of finite state for status * Handle canceling * Fix tests * Format * Display errors so users know when button presses didn't work * Fix api typo, remove logging * Lint * Simplify type Co-authored-by: G r e y <grey@coder.com> * Add type, extract helper Co-authored-by: G r e y <grey@coder.com>
Coder
Provision remote development environments with Terraform.
Highlights
- Automate development environments for Linux, Windows, and macOS
- Start writing code with a single command
- Get started quickly using one of the examples provided
Installing Coder
Install the latest release on a system with at least 1 CPU core and 2 GB RAM.
To test, start with dev mode (all data is in-memory and is destroyed on exit):
coder server --dev
To run a production deployment with PostgreSQL:
CODER_PG_CONNECTION_URL="postgres://<username>@<host>/<database>?password=<password>" \
coder server
To run as a system service, install with .deb (Debian, Ubuntu) or .rpm
(Fedora, CentOS, RHEL, SUSE):
# Edit the configuration!
sudo vim /etc/coder.d/coder.env
sudo service coder restart
Use coder start --help to get a complete list of flags and environment
variables.
Your first workspace
In a new terminal, create a template (e.g., a template to Develop in Linux on Google Cloud):
coder templates init
coder templates create
Create a workspace and connect to it via SSH:
coder create my-first-workspace
coder ssh my-first-workspace
Modifying templates
You can edit the Terraform template using a sample template:
coder templates init
cd gcp-linux/
vim main.tf
coder templates update gcp-linux
Documentation
Contributing
Read the contributing docs.
Contributors
| Name | Start Date | First PR Date | Organization | GitHub User Link |
|---|---|---|---|---|
| Grey Barkans | 01/13/2020 | 03/13/2022 | Coder | vapurrmaid |
| Ben Potter | 08/10/2020 | 03/31/2022 | Coder | bpmct |
| Mathias Fredriksson | 04/25/2022 | 04/25/2022 | Coder | mafredri |
| Spike Curtis | 05/02/2022 | 05/06/2022 | Coder | spikecurtis |
| Kira Pilot | 05/09/2022 | 05/09/2022 | Coder | Kira-Pilot |
| David Wahler | 05/09/2022 | 04/05/2022 | Coder | dwahler |
Languages
Go
74.9%
TypeScript
23.1%
Shell
0.8%
HCL
0.3%
PLpgSQL
0.3%
Other
0.4%
