GemframeSample
Constants
FRONTEND_DIR = File.expand_path("../../../frontend", "/tmp/tmp.MOkFka/src/src/gemframe_sample/app")
FRONTEND_URL = ENV["GEMFRAME_SAMPLE_FRONTEND_URL"]? || "http://127.0.0.1:5173"
App-level configuration consumed by the application entrypoint. Parsing env vars here keeps configuration concerns out of service logic.
MANAGE_VITE = ENV["GEMFRAME_SAMPLE_MANAGE_VITE"]? != "0"
VITE_PORT = begin
raw = (ENV["GEMFRAME_SAMPLE_VITE_PORT"]? || VITE_URI.port.try(&.to_s)) || "5173"
parsed = raw.to_i?
parsed && parsed > 0 ? parsed : 5173
end
VITE_URI = URI.parse(FRONTEND_URL)
WINDOW_ID = "main"
Nested types
- GemframeSample::App
- GemframeSample::Bridge
- GemframeSample::BridgeError
- GemframeSample::BridgeResponse
- GemframeSample::Framework
- GemframeSample::GreeterService
- GemframeSample::HelloService
- GemframeSample::JobCompletedEvent
- GemframeSample::JobErrorEvent
- GemframeSample::JobEvents
- GemframeSample::JobProgressEvent
- GemframeSample::JobProgressService
- GemframeSample::JobStartResult
- GemframeSample::JobStartedEvent
- GemframeSample::MathService
- GemframeSample::RuntimeInfo
- GemframeSample::RuntimeService
- GemframeSample::ServiceContainer
- GemframeSample::TerminalLog