init
This commit is contained in:
8
scripts/serve.ps1
Normal file
8
scripts/serve.ps1
Normal file
@@ -0,0 +1,8 @@
|
||||
$python = Get-Command python -ErrorAction SilentlyContinue
|
||||
if (-not $python) {
|
||||
Write-Host "Python not found. Open index.html directly in a browser." -ForegroundColor Yellow
|
||||
exit 1
|
||||
}
|
||||
|
||||
Write-Host "Starting local server at http://localhost:8000" -ForegroundColor Green
|
||||
python -m http.server 8000
|
||||
Reference in New Issue
Block a user