mirror of
https://github.com/coder/coder.git
synced 2026-09-22 05:05:20 +08:00
50f2fcae058342af1b0beea138da2c1214a780c7
A discussion (linked below) was had that touched on why this linter is enabled. To avoid losing that history, adding the comment inline with our linting rules can avoid duplicating this discussion! https://github.com/coder/coder/pull/741#discussion_r839026254
Coder
Provision remote development environments with Terraform.
Highlights
- Automate development environments for Linux, Windows, and MacOS in your cloud
- Start writing code with a single command
- Use one of many examples to get started
Getting Started
Install the latest release.
To tinker, start with dev-mode (all data is in-memory, and is destroyed on exit):
$ coder start --dev
To run a production deployment with PostgreSQL:
$ CODER_PG_CONNECTION_URL="postgres://<username>@<host>/<database>?password=<password>" \
coder start
To run as a system service, install with .deb or .rpm:
# Edit the configuration!
$ sudo vim /etc/coder.d/coder.env
$ sudo service coder restart
Your First Workspace
In a new terminal, create a new project (eg. Develop in Linux on Google Cloud):
$ coder projects init
$ coder projects create
Create a new workspace and SSH in:
$ coder workspaces create my-first-workspace
$ coder ssh my-first-workspace
Development
The code structure is inspired by Basics of Unix Philosophy and Effective Go.
Coder requires Go 1.18+, Node 14+, and GNU Make.
make binbuilds binariesmake installinstalls binaries to$GOPATH/binmake testmake releasedry-runs a new release./develop.shhot-reloads for frontend development
Languages
Go
74.9%
TypeScript
23.1%
Shell
0.8%
HCL
0.3%
PLpgSQL
0.3%
Other
0.4%