This commit is contained in:
2026-04-21 19:17:31 +08:00
parent d234d27cc0
commit 89129ef1f4
83 changed files with 13329 additions and 176 deletions

View File

@@ -3,7 +3,7 @@ param(
[Alias("h")]
[switch]$Help,
[string]$ListenHost = "127.0.0.1",
[int]$Port = 3001,
[int]$Port = 3000,
[string]$RootDir = ""
)
@@ -18,7 +18,8 @@ function Write-Usage {
'Notes:'
' 1. Start local standalone SpacetimeDB for the Genarrative Rust backend'
' 2. Store local SpacetimeDB state in server-rs/.spacetimedb/local by default'
' 3. Current stage only boots the standalone server and does not publish a module yet'
' 3. Default port is 3000 to align with the spacetime CLI local server alias'
' 4. Current stage already has crates/spacetime-module scaffold, but still does not auto-publish the module'
) -join [Environment]::NewLine
}
@@ -56,7 +57,7 @@ Write-Host "[server-rs:spacetime-dev] working dir: $serverRsDir"
Write-Host "[server-rs:spacetime-dev] root dir: $RootDir"
Write-Host "[server-rs:spacetime-dev] listen addr: $listenAddress"
Write-Host "[server-rs:spacetime-dev] mode: standalone"
Write-Host "[server-rs:spacetime-dev] note: module publish is deferred until crates/spacetime-module scaffold lands"
Write-Host "[server-rs:spacetime-dev] note: module scaffold already exists; publish remains manual in this stage"
Push-Location $serverRsDir
try {