Repository navigation
Installation
This guide installs the server and web UI from source. For containers, use the Docker guide.
- Node.js 20 and npm
- Git
- OpenSSL if generating an ingest token or TLS certificate
- MSFS 2020/2024 or FSX on Windows
The repository pins Node 20 in .nvmrc. Use it before installing because
better-sqlite3 is a native module and very new Node ABIs may be unsupported.
git clone git@github.com:oshogun/msfslogger.git
cd msfslogger
nvm install
nvm use
npm install
cd client
npm install
cd ..Puppeteer downloads Chromium during installation (approximately 300 MB), which is required for PDF export.
npm run buildThis compiles the React application into client/dist and the TypeScript
server into dist.
Create the single operator account after building:
npm run set-passwordThe command prompts for a username (default operator) and password. Running
it again changes the password. Existing browser sessions are not invalidated.
Create an ingest token shared by the server and remote Windows agent:
export INGEST_TOKEN="$(openssl rand -hex 24)"For a loopback-only test:
export BIND_HOST=127.0.0.1
npm startOpen http://localhost:3000.
For access over a LAN, configure HTTPS before starting. See Configuration and Security. Plain HTTP on a non-loopback interface requires an explicit insecure opt-out and should only be used on a trusted LAN.
If the server is on the simulator's Windows PC, no separate agent is required.
Otherwise, follow Windows Agent. The server receives agent
frames at /api/ingest/*.
npm run build
npm startThe default bind address is 0.0.0.0 and the default port is 3000. The
server refuses to start without an operator account, an ingest token (or its
explicit opt-out), and TLS when listening beyond loopback (or its explicit
opt-out).
git pull --ff-only
nvm use
npm install
cd client && npm install && cd ..
npm run build
npm test
npm startRead Operations and Backups before upgrading an existing deployment.