Import the 2026-10-09 source release, Fastify/SQLite backend, restored source assets, and analytics-enabled server build. Replace files from the previous release while retaining the existing repository history. Make builds portable across Windows and Linux, configure local startup, normalize Windows static asset paths, and fix test fixture cleanup and file URL handling. Exclude local environment settings, databases, dependencies, validation output, and TypeScript build cache from version control. Validation: npm ci, static and server builds, 106 arrival tests, and actual local HTTP checks passed. The full suite passed 467 of 470 tests; three tests still require QA fixtures omitted from the supplied release, documented in README-서버실행.md.
21 lines
555 B
Plaintext
21 lines
555 B
Plaintext
# Uninstalled example for a future Linux/systemd server.
|
|
# Confirm Node path, service account, directories, and permissions before use.
|
|
# Build with npm run build:server before starting this unit.
|
|
[Unit]
|
|
Description=Behind Glass static app and arrival API
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=behind-glass
|
|
Group=behind-glass
|
|
WorkingDirectory=/opt/behind-glass/current
|
|
EnvironmentFile=/etc/behind-glass/arrival.env
|
|
ExecStart=/usr/bin/node server/index.mjs
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
TimeoutStopSec=30
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|