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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy