2.1 KiB
testing the bundles branch against your normal hermes install
instructions:
-
close hermes, the gateway, etc. make sure you have no running hermes processes.
-
apply my updater override: macos/linux:
curl -fsSL "https://raw.githubusercontent.com/REPO/main/scripts/update-test/hermes-update-rehearsal.sh?t=$(date +%s)" | bash -s -- prewindows (open PowerShell with Run as Administrator — the backup takes a disk snapshot, which needs admin):
& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/REPO/main/scripts/update-test/hermes-update-rehearsal.ps1" -Headers @{"Cache-Control"="no-cache"}))) prethis backs up your entire hermes home and any desktop app settings. from this point on, nothing you do in hermes will be preserved, until you restore your backup at the end.
-
boot hermes up to ensure everything is working, still. if you normally have a background service, gateway, etc, make sure it's running.
-
update hermes like you normally do.
-
test hermes. make sure nothing breaks, everything you use still works, etc.
-
close hermes, the gateway, etc. make sure you have no running hermes processes.
-
restore your backup:
macos/linux:
curl -fsSL "https://raw.githubusercontent.com/REPO/main/scripts/update-test/hermes-update-rehearsal.sh?t=$(date +%s)" | bash -s -- post --yeswindows (again as Administrator):
& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/REPO/main/scripts/update-test/hermes-update-rehearsal.ps1" -Headers @{"Cache-Control"="no-cache"}))) post -Yesthis puts hermes back to exactly how it was beforehand.
testing the bundles branch from a fresh install
macos/linux, in a terminal
curl -fsSL https://raw.githubusercontent.com/REPO/main/scripts/install.sh | HERMES_REPO_URL=https://github.com/REPO.git bash
windows, in powershell
$env:HERMES_REPO_URL = "https://github.com/REPO.git"
& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/REPO/main/scripts/install.ps1" -Headers @{"Cache-Control"="no-cache"}))) -HermesHome C:\bench\fresh\home -NonInteractive