-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add decisions, cleanup contributing and scripts
- Loading branch information
Showing
12 changed files
with
122 additions
and
82 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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# ℹ️ Overview | ||
|
||
The release cycle is largely based on the internal Algorand Foundation's engineering compass. | ||
It has been tailored to work with a cli based tool with binary artifacts | ||
|
||
## ✅ Decisions | ||
|
||
- **SHOULD** use conventional commits for consistency | ||
- **SHOULD** use automated release tools like semantic-release | ||
- **SHOULD** build for arm/amd64 on darwin and linux | ||
- **SHOULD** have checks on code quality and regressions | ||
- **SHOULD** present a manual page and generated reference material | ||
- **SHOULD** provide handcrafted guides and documentation | ||
|
||
## 🔨 Deliverables | ||
|
||
- automated CI/CD release actions | ||
- installer features for consumers | ||
- marketing landing page with documentation site |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# ℹ️ Overview | ||
|
||
Node Management has many aspects which this decision makes concrete. | ||
|
||
## ✅ Decisions | ||
|
||
- **SHOULD** include install/upgrade commands | ||
- **SHOULD** include start/stop commands | ||
- **SHOULD** include catchup commands | ||
- **SHOULD** include bootstrap command | ||
|
||
## 🔨 Deliverables | ||
|
||
- Use package managers for installation and upgrades (brew, dnf, apt-get) | ||
- Use native supervisors for algod orchestration (launchd, systemd) | ||
- Bootstrap concept which ties several components together (install, start, fast-catchup, launch TUI) | ||
- Limited amount of configurations for the initial release |
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,3 +1,5 @@ | ||
# Decisions for this Project | ||
|
||
- [1. GoLang/Charm TUI](1-GoLang-Charm.md) | ||
- [1. GoLang/Charm TUI](1-GoLang-Charm.md) | ||
- [2. Release Cycle](2-Release-Cycle.md) | ||
- [3. Node Management](3-Node-Management.md) |
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,3 +1,4 @@ | ||
.DS_Store | ||
nodekit | ||
coverage | ||
bin | ||
|
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Overview | ||
|
||
Includes various [vhs](https://github.com/charmbracelet/vhs) tapes for the project. | ||
Useful for creating consistent demos and guides when the TUI updates | ||
|
||
|
||
## Get Started | ||
|
||
Install vhs | ||
|
||
```bash | ||
go install github.com/charmbracelet/vhs@latest | ||
``` | ||
|
||
Copy the default `tui.tape` and name it appropriately | ||
|
||
```bash | ||
cp ./tui.tape ./my-demo.tape | ||
``` | ||
|
||
Edit the tape with your favorite editor. | ||
Then you can run the vhs tape | ||
|
||
(Make sure to update the output file) | ||
|
||
```bash | ||
vhs ./my-demo.tape | ||
``` | ||
|
||
### Theme | ||
|
||
Example theme that uses some of the official Algorand Foundation brand guides | ||
|
||
``` | ||
Set Theme { "name": "Whimsy", "black": "#2D2DFI", "red": "#ef6487", "green": "#5eca89", "yellow": "#fdd877", "blue": "#65aef7", "magenta": "#aa7ff0", "cyan": "#43c1be", "white": "#ffffff", "brightBlack": "#535178", "brightRed": "#ef6487", "brightGreen": "#5eca89", "brightYellow": "#fdd877", "brightBlue": "#65aef7", "brightMagenta": "#aa7ff0", "brightCyan": "#43c1be", "brightWhite": "#ffffff", "background": "#001324", "foreground": "#b3b0d6", "selection": "#3d3c58", "cursor": "#b3b0d6" } | ||
``` | ||
|
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
Output ../assets/tapes/tui.gif | ||
|
||
Require nodekit | ||
|
||
Set Framerate 30 | ||
Set Margin 1 | ||
|
||
Set Theme { "name": "Whimsy", "black": "#2D2DFI", "red": "#ef6487", "green": "#5eca89", "yellow": "#fdd877", "blue": "#65aef7", "magenta": "#aa7ff0", "cyan": "#43c1be", "white": "#ffffff", "brightBlack": "#535178", "brightRed": "#ef6487", "brightGreen": "#5eca89", "brightYellow": "#fdd877", "brightBlue": "#65aef7", "brightMagenta": "#aa7ff0", "brightCyan": "#43c1be", "brightWhite": "#ffffff", "background": "#001324", "foreground": "#b3b0d6", "selection": "#3d3c58", "cursor": "#b3b0d6" } | ||
|
||
Set Shell "bash" | ||
Set FontSize 10 | ||
Set Width 1280 | ||
Set Height 640 | ||
|
||
Type "nodekit" Sleep 500ms Enter | ||
|
||
Sleep 3s Enter | ||
|
||
Sleep 500ms Down Sleep 1s Enter | ||
|
||
Sleep 1s Type "o" | ||
|
||
Sleep 5s | ||
|
||
Ctrl+C |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Overview | ||
|
||
Collection of scripts and utilities used in this project. | ||
|
||
# Documentation | ||
|
||
Documentation generator is based on CobraDoc |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"mnemonic": "artefact exist coil life turtle edge edge inside punch glance recycle teach melody diet method pause slam dumb race interest amused side learn able heavy", | ||
"address": "TUIDKH2C7MUHZDD77MAMUREJRKNK25SYXB7OAFA6JFBB24PEL5UX4S4GUU", | ||
"private_key": "Z/CTWhR4dRnJKHVurdhn6U3F9oRxoVj+0GBbF4Qf20+dEDUfQvsofIx/+wDKRImKmq12WLh+4BQeSUIdceRfaQ==" | ||
} |
This file was deleted.
Oops, something went wrong.