|
1 | 1 | # Coder
|
2 | 2 |
|
3 |
| -[](https://github.com/coder/coder/discussions) [](https://coder.com/community) [](https://twitter.com/coderhq) [](https://codecov.io/gh/coder/coder) |
| 3 | +[](https://github.com/coder/coder/discussions) |
| 5 | +[](https://coder.com/community) |
| 7 | +[](https://twitter.com/coderhq) |
| 9 | +[](https://codecov.io/gh/coder/coder) |
4 | 10 |
|
5 | 11 | Provision remote development environments with Terraform.
|
6 | 12 |
|
7 | 13 | ## Highlights
|
8 | 14 |
|
9 |
| -- Automate development environments for Linux, Windows, and MacOS in your cloud |
| 15 | +- Automate development environments for Linux, Windows, and macOS |
10 | 16 | - Start writing code with a single command
|
11 |
| -- Use one of many [examples](./examples) to get started |
| 17 | +- Get started quickly using one of the [examples](./examples) provided |
12 | 18 |
|
13 |
| -## Getting Started |
| 19 | +## Installing Coder |
14 | 20 |
|
15 |
| -Install [the latest release](https://github.com/coder/coder/releases). |
| 21 | +Install [the latest release](https://github.com/coder/coder/releases) on a system with |
| 22 | +at least 1 CPU core and 2 GB RAM. |
16 | 23 |
|
17 |
| -To tinker, start with dev-mode (all data is in-memory, and is destroyed on exit): |
| 24 | +To test, start with dev mode (all data is in-memory and is destroyed on exit): |
18 | 25 |
|
19 | 26 | ```bash
|
20 |
| -$ coder server --dev |
| 27 | +coder server --dev |
21 | 28 | ```
|
22 | 29 |
|
23 | 30 | To run a production deployment with PostgreSQL:
|
24 | 31 |
|
25 | 32 | ```bash
|
26 |
| -$ CODER_PG_CONNECTION_URL="postgres://<username>@<host>/<database>?password=<password>" \ |
| 33 | +CODER_PG_CONNECTION_URL="postgres://<username>@<host>/<database>?password=<password>" \ |
27 | 34 | coder server
|
28 | 35 | ```
|
29 | 36 |
|
30 |
| -To run as a system service, install with `.deb` or `.rpm`: |
| 37 | +To run as a system service, install with `.deb` (Debian, Ubuntu) or `.rpm` |
| 38 | +(Fedora, CentOS, RHEL, SUSE): |
31 | 39 |
|
32 | 40 | ```bash
|
33 | 41 | # Edit the configuration!
|
34 |
| -$ sudo vim /etc/coder.d/coder.env |
35 |
| -$ sudo service coder restart |
| 42 | +sudo vim /etc/coder.d/coder.env |
| 43 | +sudo service coder restart |
36 | 44 | ```
|
37 | 45 |
|
38 |
| -### Your First Workspace |
| 46 | +Use `coder start --help` to get a complete list of flags and environment |
| 47 | +variables. |
39 | 48 |
|
40 |
| -In a new terminal, create a new project (eg. Develop in Linux on Google Cloud): |
| 49 | +### Your first workspace |
41 | 50 |
|
42 |
| -``` |
43 |
| -$ coder templates init |
44 |
| -$ coder templates create |
| 51 | +In a new terminal, create a template (e.g., a template to **Develop in Linux on |
| 52 | +Google Cloud**): |
| 53 | + |
| 54 | +```bash |
| 55 | +coder templates init |
| 56 | +coder templates create |
45 | 57 | ```
|
46 | 58 |
|
47 |
| -Create a new workspace and SSH in: |
| 59 | +Create a workspace and connect to it via SSH: |
48 | 60 |
|
49 |
| -``` |
50 |
| -$ coder workspaces create my-first-workspace |
51 |
| -$ coder ssh my-first-workspace |
| 61 | +```bash |
| 62 | +coder workspaces create my-first-workspace |
| 63 | +coder ssh my-first-workspace |
52 | 64 | ```
|
53 | 65 |
|
54 |
| -### Working with Projects |
| 66 | +### Modifying templates |
55 | 67 |
|
56 |
| -You can edit the Terraform from a sample project: |
| 68 | +You can edit the Terraform template using a sample template: |
57 | 69 |
|
58 | 70 | ```sh
|
59 |
| -$ coder templates init |
60 |
| -$ cd gcp-linux/ |
61 |
| -$ vim main.tf |
62 |
| -$ coder templates update gcp-linux |
| 71 | +coder templates init |
| 72 | +cd gcp-linux/ |
| 73 | +vim main.tf |
| 74 | +coder templates update gcp-linux |
63 | 75 | ```
|
64 | 76 |
|
| 77 | +## Documentation |
| 78 | + |
| 79 | +- [About Coder](./about.md#about-coder) |
| 80 | + - [Why remote development](about.md#why-remote-development) |
| 81 | + - [Why Coder](about.md#why-coder) |
| 82 | + - [What Coder is not](about.md#what-coder-is-not) |
| 83 | +- [Templates](./templates.md) |
| 84 | + - [Manage templates](./templates.md#manage-templates) |
| 85 | + - [Persistent and ephemeral |
| 86 | + resources](./templates.md#persistent-and-ephemeral-resources) |
| 87 | + - [Variables](./templates.md#variables) |
| 88 | +- [Workspaces](./workspaces.md) |
| 89 | + - [Create workspaces](./workspaces.md#create-workspaces) |
| 90 | + - [Connect with SSH](./workspaces.md#connect-with-ssh) |
| 91 | + - [Editors and IDEs](./workspaces.md#editors-and-ides) |
| 92 | + - [Workspace lifecycle](./workspaces.md#workspace-lifecycle) |
| 93 | + - [Updating workspaces](./workspaces.md#updating-workspaces) |
| 94 | + |
65 | 95 | ## Contributing
|
66 | 96 |
|
67 | 97 | Read the [contributing docs](./CONTRIBUTING.md).
|
68 |
| - |
|
0 commit comments