-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
00094bd
commit abf1345
Showing
15 changed files
with
98 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,15 +17,18 @@ An efficient terminal application/TUI for interacting with your [HashiCorp Nomad | |
- See full job or allocation specs | ||
- Save any content to a local file | ||
|
||
![](./img/home.png) | ||
`wander` is written with tools from [Charm](https://charm.sh/). | ||
|
||
[More Screenshots](./img/screenshots#readme) | ||
[Feature requests and bug reports are welcome](https://github.com/robinovitch61/wander/issues/new/choose). | ||
|
||
![](./img/wander_flow.drawio.png) | ||
## Demo | ||
|
||
`wander` is written with tools from [Charm](https://charm.sh/). | ||
![](./img/wander.gif) | ||
|
||
[Screenshots](./img/screenshots#readme) | ||
|
||
[Feature requests and bug reports for wander are welcome](https://github.com/robinovitch61/wander/issues/new/choose). | ||
## Flow Diagram | ||
![](./img/wander_flow.drawio.png) | ||
|
||
## Installation | ||
|
||
|
@@ -52,17 +55,11 @@ yay -S wander-bin | |
|
||
# with go (https://go.dev/doc/install) | ||
go install github.com/robinovitch61/wander@latest | ||
|
||
# build from source | ||
git clone [email protected]:robinovitch61/wander.git | ||
cd wander | ||
go build | ||
mv ./wander /usr/local/bin # or somewhere else in your PATH | ||
|
||
# OR download prebuilt release from https://github.com/robinovitch61/wander/releases | ||
# and move the unpacked executable to somewhere in your PATH, e.g. /usr/local/bin | ||
``` | ||
|
||
You can also download [prebuilt releases](https://github.com/robinovitch61/wander/releases) and move the unpacked | ||
executable to somewhere in your `PATH`, e.g. `/usr/local/bin`. | ||
|
||
## Usage | ||
|
||
Run the app by running `wander` in a terminal. See `wander --help` and config section below for details. | ||
|
@@ -234,8 +231,7 @@ Serve the ssh app with `wander serve`. | |
|
||
## Trying It Out | ||
|
||
You can try `wander` out by running a local nomad cluster in dev mode | ||
following [these instructions](https://learn.hashicorp.com/tutorials/nomad/get-started-run?in=nomad/get-started): | ||
You can try `wander` out by running a local development nomad cluster following [these instructions](https://learn.hashicorp.com/tutorials/nomad/get-started-run?in=nomad/get-started): | ||
|
||
```sh | ||
# in first terminal session, start and leave nomad running in dev mode | ||
|
@@ -263,9 +259,14 @@ In this case, you're responsible for ensuring the specified version is in sync w | |
|
||
## Development | ||
|
||
The `scripts/dev.sh` script watches the source code and rebuilds the app on changes | ||
using [entr](https://github.com/eradman/entr). Install the latest release of `nomad`. | ||
To manually build: | ||
|
||
```shell | ||
git clone [email protected]:robinovitch61/wander.git | ||
cd wander | ||
go build # outputs ./wander executable | ||
``` | ||
|
||
`wander` runs the built app. You must rerun it on rebuild. | ||
The [scripts](/scripts) directory contains various development helper scripts. | ||
|
||
If the `WANDER_DEBUG` environment variable is set to `true`, the `dev.Debug(s string)` function outputs to `wander.log`. |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,16 @@ | ||
# All Jobs | ||
![](./All_Jobs.png) | ||
# All Tasks | ||
![](./All_Tasks.png) | ||
# Allocation Statistics | ||
![](./Allocation_Statistics.png) | ||
# Exec | ||
![](./Exec.png) | ||
# Global Events | ||
![](./Global_Events.png) | ||
# Job Events | ||
![](./Job_Events.png) | ||
# Save Any View to Local File | ||
![](./Save_Any_View_to_Local_File.png) | ||
# Task Logs | ||
![](./Task_Logs.png) | ||
# Tasks for Job | ||
![](./Tasks_for_Job.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters