feat: migrate Redis installer and add to coordinator dependencies

- Migrated Redis to new installer pattern with fixed config template
- Coordinator now auto-installs Redis if missing
- Added progress indicators and consolidated examples
This commit is contained in:
peternashaat
2025-11-14 13:29:22 +00:00
parent eada09135c
commit bf79d6d198
2 changed files with 0 additions and 24 deletions

View File

@@ -1,24 +0,0 @@
#!/usr/bin/env -S v -n -w -gc none -cc tcc -d use_openssl -enable-globals run
import incubaid.herolib.installers.base
println('=== Testing Redis Template Application ===\n')
// Stop redis first
println('Stopping redis...')
base.stop() or {}
// Start redis (this will apply the template)
println('Starting redis with template...')
base.start(port: 6379, datadir: '/root/hero/var/redis')!
println(' Redis started')
// Verify it's running
if base.check(port: 6379) {
println(' Redis is responding to ping')
} else {
println(' Redis is not responding')
}
println('\n Done!')