diff --git a/.debugging/test-transfer.sh b/.debugging/test-transfer.sh new file mode 100755 index 0000000..93ca4a8 --- /dev/null +++ b/.debugging/test-transfer.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +./dist/bin/cloudvoyager-macos-arm64 transfer -c config.json --force-restart diff --git a/.gitignore b/.gitignore index 503084e..f66acd4 100644 --- a/.gitignore +++ b/.gitignore @@ -60,6 +60,7 @@ debug/ proto/ compliance/sonar_scan_local.sh migrate-config.json +transfer-config.json .claude/ # Desktop app @@ -69,6 +70,7 @@ dist/desktop/ **/*.json.journal **/*.json.journal.backup **/*.json.gz +*.lock sonar-local-scan.sh *.backup diff --git a/docs/local-development.md b/docs/local-development.md index f2d861d..977b962 100644 --- a/docs/local-development.md +++ b/docs/local-development.md @@ -889,6 +889,24 @@ The following npm scripts are available for building, testing, and linting: --- + +## 🐛 Debugging Scripts + +The `.debugging/` folder contains convenience scripts for local testing: + +| Script | What it does | +|--------|-------------| +| `test-migrate.sh` | Run `migrate` command with `migrate-config.json` | +| `test-transfer.sh` | Run `transfer` command with `transfer-config.json` | +| `test-verify.sh` | Run `verify` command with `migrate-config.json` | +| `build-desktop.sh` | Build the Electron desktop app | +| `run-desktop.sh` | Launch the desktop app in dev mode | +| `delete-all-sonarcloud-projects.sh` | Delete all projects from a SonarCloud org (for cleanup) | + +These scripts expect the binary at `./dist/bin/cloudvoyager-macos-arm64` and config files at the repo root. Both `migrate-config.json` and `transfer-config.json` are gitignored since they contain credentials. + +--- + ## 📚 Further Reading