docs: add Production_Installation.md and fix Node.js version in Installation.md#324
Open
vmuralictr wants to merge 2 commits into
Open
Conversation
- Add docs/Production_Installation.md covering Apache2 + systemd deployment, NodeSource Node 22 install (fixes openmainframeproject#320), MariaDB setup, and frontend build/deploy steps (closes openmainframeproject#314) - Add vitest jsdom environment config to vite.config.js - Add src/test/setup.js with jest-dom matchers - Add SearchResults and normalizeApiBaseUrl test suites (15 tests)
…nframeproject#320) Ubuntu 24.04 ships Node 18 via apt which is too old for Vite 8. Replace apt nodejs install with NodeSource Node 22 LTS setup.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
docs/Production_Installation.mdwith full production deployment guide covering Apache2, systemd, MariaDB setup, and frontend build/deploy steps (closes Add production Installation Documentation #314)docs/Installation.mdto replacesudo apt install nodejs npmwith NodeSource Node 22 LTS install — Ubuntu 24.04 ships Node 18 which is too old for Vite 8 (closes [Bug]: Ubuntu 24.04 installation needs newer version of nodejs - update docs #320)vite.config.jswith jest-dom setup and adds 15 passing tests forSearchResultsandnormalizeApiBaseUrlTest plan
npm testpasses (15 tests across 2 suites)Production_Installation.mdon a fresh Ubuntu 24.04 server and confirm the app deploys and serves correctlyInstallation.mdStep 1 on Ubuntu 24.04 and confirmnode --versionprints v22.x.x