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 <[email protected]>
13 lines
613 B
PowerShell
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'
|