mirror of
https://github.com/bitwarden/self-host.git
synced 2026-06-27 22:05:45 +00:00
Add VHS gifs
This commit is contained in:
5
POC/.gitignore
vendored
5
POC/.gitignore
vendored
@@ -12,9 +12,8 @@ bundle/
|
||||
*.tar.gz
|
||||
bitwarden-logs-*.zip
|
||||
|
||||
# Local answer files may hold installation id/key
|
||||
answers.yaml
|
||||
answers.yml
|
||||
# Local install manifests
|
||||
bitwarden.yaml
|
||||
|
||||
# Secrets / certs
|
||||
*.pfx
|
||||
|
||||
@@ -4,6 +4,8 @@ A single .NET tool that installs and manages a Bitwarden self-host deployment
|
||||
`bitwarden.sh` + `run.sh` + Setup-container stack. It generates all config in-process and drives
|
||||
Docker directly. Supports both **standard** and **lite** deployments.
|
||||
|
||||

|
||||
|
||||
> Status: working proof of concept. See **What's not done yet** at the bottom.
|
||||
|
||||
## Prerequisites
|
||||
@@ -25,6 +27,8 @@ dotnet run -- install
|
||||
It asks for your domain, region, installation id/key, and database name, then pulls the images,
|
||||
starts the stack, and shows a live status table.
|
||||
|
||||

|
||||
|
||||
### Unattended with a manifest
|
||||
|
||||
Create `bitwarden.yaml`:
|
||||
@@ -76,6 +80,7 @@ dotnet run -- migrate --root ./bwdata
|
||||
- Versions default to the pinned `version.json` release; override per run with
|
||||
`update --core-version <v> --web-version <v>` or in the manifest.
|
||||
- A real `bwsh` binary can be produced with `dotnet publish -c Release --self-contained`.
|
||||
- The demo GIFs are generated from VHS tapes in [`docs/`](docs/README.md).
|
||||
|
||||
## What's not done yet
|
||||
|
||||
|
||||
BIN
POC/bwsh/docs/images/install.gif
Normal file
BIN
POC/bwsh/docs/images/install.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 116 KiB |
BIN
POC/bwsh/docs/images/logs.gif
Normal file
BIN
POC/bwsh/docs/images/logs.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 172 KiB |
BIN
POC/bwsh/docs/images/status.gif
Normal file
BIN
POC/bwsh/docs/images/status.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 62 KiB |
29
POC/bwsh/docs/install.tape
Normal file
29
POC/bwsh/docs/install.tape
Normal file
@@ -0,0 +1,29 @@
|
||||
# bwsh install — live progress table marching to healthy.
|
||||
# Render from POC/bwsh/: vhs docs/install.tape (setup: docs/README.md)
|
||||
# Pre-pull the images first so the GIF shows orchestration, not downloads.
|
||||
|
||||
Output docs/images/install.gif
|
||||
|
||||
Require bwsh
|
||||
|
||||
Set Shell "bash"
|
||||
Set FontSize 16
|
||||
Set Width 1000
|
||||
Set Height 460
|
||||
Set Padding 24
|
||||
Set TypingSpeed 60ms
|
||||
Set WindowBar Colorful
|
||||
Set BorderRadius 8
|
||||
Set Theme "Dracula"
|
||||
|
||||
Hide
|
||||
Type "export PS1='$ '"
|
||||
Enter
|
||||
Type "clear"
|
||||
Enter
|
||||
Show
|
||||
|
||||
Type "bwsh install --manifest bitwarden.yaml"
|
||||
Sleep 700ms
|
||||
Enter
|
||||
Sleep 90s # pulling -> creating -> starting -> healthy, then the vault URL
|
||||
33
POC/bwsh/docs/logs.tape
Normal file
33
POC/bwsh/docs/logs.tape
Normal file
@@ -0,0 +1,33 @@
|
||||
# bwsh logs — per-service logs + the --export support bundle.
|
||||
# Render from POC/bwsh/: vhs docs/logs.tape (setup: docs/README.md)
|
||||
|
||||
Output docs/images/logs.gif
|
||||
|
||||
Require bwsh
|
||||
|
||||
Set Shell "bash"
|
||||
Set FontSize 16
|
||||
Set Width 1200
|
||||
Set Height 800
|
||||
Set Padding 24
|
||||
Set TypingSpeed 60ms
|
||||
Set WindowBar Colorful
|
||||
Set BorderRadius 8
|
||||
Set Theme "Dracula"
|
||||
|
||||
Hide
|
||||
Type "export PS1='$ '"
|
||||
Enter
|
||||
Type "clear"
|
||||
Enter
|
||||
Show
|
||||
|
||||
Type "bwsh logs identity -d lite"
|
||||
Sleep 700ms
|
||||
Enter
|
||||
Sleep 3s
|
||||
|
||||
Type "bwsh logs --export support-bundle.zip -d lite"
|
||||
Sleep 700ms
|
||||
Enter
|
||||
Sleep 3s
|
||||
29
POC/bwsh/docs/status.tape
Normal file
29
POC/bwsh/docs/status.tape
Normal file
@@ -0,0 +1,29 @@
|
||||
# bwsh status — health table, versions, vault URL.
|
||||
# Render from POC/bwsh/: vhs docs/status.tape (setup: docs/README.md)
|
||||
|
||||
Output docs/images/status.gif
|
||||
|
||||
Require bwsh
|
||||
|
||||
Set Shell "bash"
|
||||
Set FontSize 16
|
||||
Set Width 900
|
||||
Set Height 620
|
||||
Set Padding 24
|
||||
Set TypingSpeed 60ms
|
||||
Set WindowBar Colorful
|
||||
Set BorderRadius 8
|
||||
Set Theme "Dracula"
|
||||
|
||||
# Clean prompt so the recording shows the tool, not the shell.
|
||||
Hide
|
||||
Type "export PS1='$ '"
|
||||
Enter
|
||||
Type "clear"
|
||||
Enter
|
||||
Show
|
||||
|
||||
Type "bwsh status -d lite"
|
||||
Sleep 700ms
|
||||
Enter
|
||||
Sleep 5s
|
||||
Reference in New Issue
Block a user