Files
smom-dbis-138/scripts/deployment/enable-z-hosts-local.ps1
zaragoza444 a2db92f3cb
Some checks failed
CI/CD Pipeline / Solidity Contracts (push) Failing after 1m14s
CI/CD Pipeline / Security Scanning (push) Successful in 2m34s
CI/CD Pipeline / Lint and Format (push) Failing after 40s
CI/CD Pipeline / Terraform Validation (push) Failing after 24s
CI/CD Pipeline / Kubernetes Validation (push) Successful in 26s
Deploy ChainID 138 / Deploy ChainID 138 (push) Failing after 37s
HYBX OMNL TypeScript & anchor / token-aggregation build + reconcile artifact (push) Failing after 22s
Validation / validate-genesis (push) Successful in 24s
Validation / validate-terraform (push) Failing after 24s
Validation / validate-kubernetes (push) Failing after 9s
Validation / validate-smart-contracts (push) Failing after 10s
Validation / validate-security (push) Failing after 1m22s
Validation / validate-documentation (push) Failing after 17s
Verify Deployment / Verify Deployment (push) Failing after 47s
feat: split Z Ecosystem from OMNL/DBIS with separate builds and deploy
Add VITE_ECOSYSTEM build profiles, Z-only nginx vhosts, standalone Z production stack script, and remove Z Chain from OMNL registry.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-07 05:17:40 -07:00

13 lines
613 B
PowerShell

# Run as Administrator to map zblockchainsystem.com to this PC (local Z portal on :3002)
$marker = '# Z Ecosystem only'
$hostsPath = "$env:SystemRoot\System32\drivers\etc\hosts"
$line = '127.0.0.1 zblockchainsystem.com www.zblockchainsystem.com rpc.zblockchainsystem.com explorer.zblockchainsystem.com'
$content = Get-Content $hostsPath -Raw
if ($content -match [regex]::Escape($marker)) {
Write-Host 'Z hosts entries already present.'
exit 0
}
Add-Content -Path $hostsPath -Value "`n$marker`n$line"
Write-Host 'Added zblockchainsystem.com -> 127.0.0.1'
Write-Host 'Open: http://zblockchainsystem.com:3002/z'