- Notifications
You must be signed in to change notification settings - Fork929
Provision remote development environments via Terraform
License
AGPL-3.0, Unknown licenses found
Licenses found
coder/coder
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This repository contains source code for Coder V2. Additional documentation:
.github/
: Settings forDependabot for updating dependencies andbuild/deploy pipelines with GitHub Actions.semantic.yaml
: Configuration forsemantic pull requests
examples
: Example terraform project templates.site
: Front-end UI code.
git
go
version 1.17, with theGOPATH
environment variable setnode
yarn
git clone https://github.com/coder/coder
cd coder
make build
make install
Thecoder
CLI binary will now be available at$GOPATH/bin/coder
After building, the binaries will be available at:
dist/coder_{os}_{arch}/coder
For the purpose of these steps, an OS oflinux
and an arch ofamd64
is assumed.
To manually run the server and go through first-time set up, run the following commands in separate terminals:
dist/coder_linux_amd64/coder daemon
<-- starts the Coder server on port 3000dist/coder_linux_amd64/coder login http://localhost:3000
<-- runs through first-time setup, creating a user and org
You'll now be able to login and access the server.
dist/coder_linux_amd64/coder projects create -d /path/to/project
./develop.sh
Thedevelop.sh
script does three things:
- runs
coder daemon
locally on port3000
- runs
webpack-dev-server
on port8080
- sets up an initial user and organization
This is the recommend flow for working on the front-end, as hot-reload is set up as part of the webpack config.
Note that./develop.sh
creates a user and allows you to log into the UI, but does not log you into the CLI, which is required for creating a project. Use thelogin
command above before theprojects create
command.
While we're working on automating XState typegen, you may need to runyarn typegen
fromsite
.
For the front-end team, we're planning on 2 phases to the 'v2' work:
Phase 1 is the 'new-wine-in-an-old-bottle' approach - we want to preserve the look and feel (UX) of v1, while testing and validating the market fit of our new v2 provisioner model. This means that we'll preserve Material UI and re-use components from v1 (porting them over to the v2 codebase).
Phase 2 is the 'new-wine-in-a-new-bottle' - which we can do once we've successfully packaged the new wine in the old bottle.
In other words, once we've validated that the new strategy fits and is desirable for our customers, we'd like to build a new, v2-native UI (leveraging designers on the team to build a first-class experience around the new provisioner model).
About
Provision remote development environments via Terraform
Topics
Resources
License
AGPL-3.0, Unknown licenses found
Licenses found
Code of conduct
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.