- Notifications
You must be signed in to change notification settings - Fork928
feat: Update README with highlights and getting started guide#627
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,81 +1,64 @@ | ||
# Coder | ||
[](https://github.com/coder/coder/discussions) [](https://coder.com/community) [](https://twitter.com/coderhq) [](https://codecov.io/gh/coder/coder) | ||
kylecarbs marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
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](./examples) to get started | ||
Comment on lines +9 to +11 Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. I was gonna nit on the messaging a bit, but decided it'd be more productive once we create a messaging doc. I like the placement of these here 👍🏼 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Yeah, we can totally change these whenever. Feel free to nit on em' now if you'd like. I'm all ears! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. I think we can make these a lot more compelling but I'll wait to invest until Ben takes a pass. | ||
## Getting Started | ||
Install [the latest release](https://github.com/coder/coder/releases). | ||
kylecarbs marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
To tinker, start with dev-mode (all data is in-memory, and is destroyed on exit): | ||
```bash | ||
$ coder start --dev | ||
``` | ||
To run a production deployment with PostgreSQL: | ||
```bash | ||
$ CODER_PG_CONNECTION_URL="postgres://<username>@<host>/<database>?password=<password>" \ | ||
coder start | ||
``` | ||
kylecarbs marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
To run as a system service, install with `.deb` or `.rpm`: | ||
```bash | ||
# Edit the configuration! | ||
$ sudo vim /etc/coder.d/coder.env | ||
kylecarbs marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page.
kylecarbs marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
$ sudo service coder restart | ||
kylecarbs marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
``` | ||
### 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](https://homepage.cs.uri.edu/~thenry/resources/unix_art/ch01s06.html) and [Effective Go](https://go.dev/doc/effective_go). | ||
Coder requires Go 1.18+, Node 14+, and GNU Make. | ||
- `make bin` builds binaries | ||
- `make install` installs binaries to `$GOPATH/bin` | ||
- `make test` | ||
- `make release` dry-runs a new release | ||
- `./develop.sh` hot-reloads for frontend development |