mirror of
https://github.com/renorris/openfsd
synced 2026-08-13 13:05:41 +08:00
Run both services by default, or select with -fsd / -web. Shared DB layer is unchanged; colocated web defaults FSD service HTTP to localhost. Remove the separate cmd/openfsd-web entrypoint.
11 lines
305 B
Batchfile
11 lines
305 B
Batchfile
@echo off
|
|
|
|
title openfsd
|
|
|
|
rem Single binary: both FSD and web (default when neither -fsd nor -web is passed).
|
|
set DATABASE_AUTO_MIGRATE=true
|
|
set DATABASE_SOURCE_NAME=openfsd.db?_pragma=busy_timeout(5000)^&_pragma=journal_mode(WAL)
|
|
set FSD_HTTP_SERVICE_ADDRESS=http://127.0.0.1:13618
|
|
|
|
go run ./cmd/openfsd
|