Move the correx server off :8080 to :8090 (mavgpud port conflict) #3
@@ -1,3 +1,3 @@
|
||||
package com.correx.apps.cli
|
||||
|
||||
internal const val DEFAULT_PORT = 8080
|
||||
internal const val DEFAULT_PORT = 8090
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ import (
|
||||
|
||||
func main() {
|
||||
host := flag.String("host", "localhost", "server host")
|
||||
port := flag.Int("port", 8080, "server port")
|
||||
port := flag.Int("port", 8090, "server port")
|
||||
flag.Parse()
|
||||
|
||||
if path := os.Getenv("CORREX_TUI_LOG"); path != "" {
|
||||
|
||||
@@ -184,7 +184,7 @@ object ProfileLoader {
|
||||
}
|
||||
|
||||
object ConfigLoader {
|
||||
private const val DEFAULT_SERVER_PORT = 8080
|
||||
private const val DEFAULT_SERVER_PORT = 8090
|
||||
private const val DEFAULT_SESSION_LIST_LIMIT = 5
|
||||
private const val DEFAULT_EMBEDDER_DIMENSION = 1536
|
||||
private const val DEFAULT_L3_DIM = 1536
|
||||
|
||||
@@ -184,7 +184,7 @@ data class ArtifactKindConfig(
|
||||
@Serializable
|
||||
data class ServerConfig(
|
||||
val host: String = "localhost",
|
||||
val port: Int = 8080,
|
||||
val port: Int = 8090,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
|
||||
@@ -9,7 +9,7 @@ class ConfigLoaderTest {
|
||||
fun `load returns defaults when config file missing`() {
|
||||
val config = CorrexConfig()
|
||||
assertEquals("localhost", config.server.host)
|
||||
assertEquals(8080, config.server.port)
|
||||
assertEquals(8090, config.server.port)
|
||||
assertEquals("dark", config.tui.theme)
|
||||
assertEquals(5, config.tui.sessionListLimit)
|
||||
assertEquals("human", config.cli.defaultOutput)
|
||||
|
||||
+2
-2
@@ -76,7 +76,7 @@ scripts/qa/searxng-down.sh
|
||||
## 4. Start the server
|
||||
|
||||
```bash
|
||||
./gradlew :apps:server:run # mainClass com.correx.apps.server.MainKt, listens on :8080
|
||||
./gradlew :apps:server:run # mainClass com.correx.apps.server.MainKt, listens on :8090
|
||||
# or build a runnable dist once and reuse it:
|
||||
./gradlew :apps:server:installDist
|
||||
apps/server/build/install/server/bin/server
|
||||
@@ -90,7 +90,7 @@ apps/server/build/install/server/bin/server
|
||||
```bash
|
||||
cd apps/tui-go
|
||||
GOTOOLCHAIN=auto go build -o correx-tui .
|
||||
./correx-tui -host localhost -port 8080 # flags default to localhost:8080
|
||||
./correx-tui -host localhost -port 8090 # flags default to localhost:8090
|
||||
```
|
||||
|
||||
## 6. Evidence tools (what the plans cite)
|
||||
|
||||
Reference in New Issue
Block a user