chore: establish Sovereign AI reference
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
$ErrorActionPreference = 'Stop'
|
||||
$client = Split-Path -Parent $MyInvocation.MyCommand.Path
|
||||
$project = Split-Path -Parent $client
|
||||
$build = Join-Path $client 'build\web'
|
||||
$python = Join-Path $project '.venv\Scripts\python.exe'
|
||||
if (-not (Test-Path -LiteralPath (Join-Path $build 'index.html'))) {
|
||||
throw 'نسخة الويب غير مبنية. شغّل flutter build web من مجلد flutter_app أولاً.'
|
||||
}
|
||||
& $python -m http.server 5301 --bind 127.0.0.1 --directory $build
|
||||
Reference in New Issue
Block a user