重写
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user