Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7f917af

Browse files
committed
Add an ./install.sh as a helper for working with the local coder executable
1 parent a82fb8f commit 7f917af

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ This repository contains source code for Coder V2. Additional documentation:
3030

3131
The `develop.sh` script runs the server locally on port `3000`, and runs a hot-reload server for front-end code on `8080`.
3232

33+
### CLI
34+
35+
- `./install.sh` will `go install` the `coder` CLI
36+
- `coder --help`
37+
3338
## Front-End Plan
3439

3540
For the front-end team, we're planning on 2 phases to the 'v2' work:

install.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
3+
set -euo pipefail
4+
5+
go install cmd/coder/main.go
6+
echo "Coder CLI now installed at:"
7+
echo "$(which coder)"

0 commit comments

Comments
 (0)