From 8b880b2d5accffa4a6f27c9906e1162066bc1cdf Mon Sep 17 00:00:00 2001 From: Fimeg Date: Sat, 1 Nov 2025 09:36:48 -0400 Subject: [PATCH] docs: update README with v0.1.18 and improve update/uninstall sections - Bump version to 0.1.18 - Add simple update one-liner - Organize nuclear option and uninstall into dropdowns - Document agent config file locations - Reference uninstall.sh script --- README.md | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 50 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7367d3d..423bf63 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Cross-platform agents • Web dashboard • Single binary deployment • No enterprise BS ``` -v0.1.17 - Alpha Release +v0.1.18 - Alpha Release ``` --- @@ -109,7 +109,18 @@ Get registration tokens from the web dashboard under **Settings → Token Manage --- -### Full Reinstall (Nuclear Option) +### Updating + +To update to the latest version: + +```bash +git pull && docker-compose down && docker-compose build --no-cache && docker-compose up -d +``` + +--- + +
+Full Reinstall (Nuclear Option) If things get really broken or you want to start completely fresh: @@ -140,7 +151,43 @@ docker-compose down -v --remove-orphans && \ - Uninstall agent completely first - Then run installer with new token -The one-liner scripts should work for updates unless there are breaking changes between versions. +
+ +--- + +
+Full Uninstall + +**Uninstall Server:** +```bash +docker-compose down -v --remove-orphans +rm config/.env +``` + +**Uninstall Linux Agent:** +```bash +# Using uninstall script (recommended) +sudo bash aggregator-agent/uninstall.sh + +# Remove agent configuration +sudo rm /etc/aggregator/config.json + +# Remove agent user (optional - preserves logs) +sudo userdel -r redflag-agent +``` + +**Uninstall Windows Agent:** +```powershell +# Stop and remove service +Stop-Service RedFlagAgent +sc.exe delete RedFlagAgent + +# Remove files +Remove-Item "C:\Program Files\RedFlag\redflag-agent.exe" +Remove-Item "C:\ProgramData\RedFlag\config.json" +``` + +
---