Remote development environments on your infrastructure
Go to file
Mathias Fredriksson 2d3dc436a8
feat: Implement unified pagination and add template versions support (#1308)
* feat: Implement pagination for template versions

* feat: Use unified pagination between users and template versions

* Sync codepaths between users and template versions

* Create requestOption type in codersdk and add test

* Fix created_at edge case for pagination cursor in queries

* feat: Add support for json omitempty and embedded structs in apitypings (#1318)

* Add scripts/apitypings/main.go to Makefile
2022-05-10 07:44:09 +00:00
.github fix: Prefix paths in find on macOS (#1284) 2022-05-04 09:47:48 -05:00
.vscode feat: Add web terminal with reconnecting TTYs (#1186) 2022-04-29 17:30:10 -05:00
agent fix: Add lock around read/write of circular buffer (#1258) 2022-05-02 17:31:04 +00:00
buildinfo fix: Prefix buildinfo tag with "v" (#1256) 2022-05-02 15:58:36 +00:00
cli fix: Allow coderd to exit on error channel (#1355) 2022-05-10 02:19:20 +00:00
cmd feat: Add endpoint to get all workspaces a user can access (#1354) 2022-05-10 02:38:20 +00:00
coderd feat: Implement unified pagination and add template versions support (#1308) 2022-05-10 07:44:09 +00:00
codersdk feat: Implement unified pagination and add template versions support (#1308) 2022-05-10 07:44:09 +00:00
cryptorand chore: improve coverage of cryptorand package (#377) 2022-02-28 09:50:55 -08:00
docs chore: add dwahler as contributor (#1352) 2022-05-09 20:57:03 +00:00
examples fix: use CODER_AGENT_TOKEN for docker example (#1295) 2022-05-04 22:42:58 +00:00
peer fix: Remove microsecond wait in peer.(*Channel) (#1270) 2022-05-03 14:00:59 +00:00
peerbroker chore: Bump protoc to 3.20.0 (#1104) 2022-04-23 01:53:22 +00:00
provisioner fix: Use "terraform state pull" instead of "terraform show" (#1262) 2022-05-02 20:02:38 +00:00
provisionerd fix: Restore terminal on interrupt when connecting (#1312) 2022-05-05 20:11:44 -05:00
provisionersdk feat: Update Terraform provider to support "dir" in "coder_agent" (#1219) 2022-05-02 10:27:34 -05:00
pty feat: Add web terminal with reconnecting TTYs (#1186) 2022-04-29 17:30:10 -05:00
scripts feat: Implement unified pagination and add template versions support (#1308) 2022-05-10 07:44:09 +00:00
site feat: Implement unified pagination and add template versions support (#1308) 2022-05-10 07:44:09 +00:00
.gitattributes chore: Move httpapi, httpmw, & database into `coderd` (#568) 2022-03-25 16:07:45 -05:00
.gitignore fix: `make install` references incorrect folders (#1105) 2022-04-22 15:41:45 -05:00
.golangci.yaml chore: rename .yaml to .yml (#895) 2022-04-06 21:32:59 +00:00
.goreleaser.yaml fix: Update buildinfo package location in ldflags (#1208) 2022-04-28 10:46:18 -05:00
LICENSE chore: Add license (#841) 2022-04-04 11:55:06 -05:00
Makefile feat: Implement unified pagination and add template versions support (#1308) 2022-05-10 07:44:09 +00:00
codecov.yaml chore: remove CodeCov annotations (#928) 2022-04-08 15:57:28 -04:00
coder.env chore: Rename "start" to "server" (#1110) 2022-04-23 12:19:20 -05:00
coder.service fix: Use proper shutdown signal for systemd (#1179) 2022-04-25 21:09:11 -05:00
develop.sh fix: Restore static credentials for develop.sh (#1212) 2022-04-28 21:47:35 +03:00
go.mod feat: Add endpoint to get all workspaces a user can access (#1354) 2022-05-10 02:38:20 +00:00
go.sum chore: bump github.com/moby/moby (#1339) 2022-05-09 19:01:33 -05:00
rules.go ci: Replace DataDog CI with custom upload script (#169) 2022-02-07 17:32:32 +00:00

docs/README.md

Coder

"GitHubDiscussions" "Join us onSlack" TwitterFollow codecov

Provision remote development environments with Terraform.

Kubernetes workspace in Coder v2

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
Mathias Fredriksson 04/25/2022 04/25/2022 Coder mafredri
Kira Pilot 05/09/2022 05/09/2022 Coder Kira-Pilot
David Wahler 05/09/2022 04/05/2022 Coder dwahler