From 07d219e487e00674fe2f54541b0965472c2542d4 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Sun, 14 Jun 2026 14:11:59 +0100 Subject: [PATCH] docs: add npm install + build:js to install procedure The esbuild bundles under wwwroot/js and wwwroot/css are now produced by 'npm run build:js'. Document this in INSTALL.md so new contributors know to run 'npm install' before 'make install'. --- INSTALL.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index 6be2ce74..d7315074 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -1,15 +1,24 @@ # Install -With internet access, Git, dotnet, and GNU/Makefile, simply follow these instructions, in order to have the server part installed: +With internet access, Git, dotnet, Node.js, and GNU/Makefile, simply follow these instructions, in order to have the server part installed: ```bash git clone https://github.com/pschneider/yavsc.git cd yavsc dotnet restore +npm install # restore front-end dependencies +npm run build:js # build the JS/CSS bundles into wwwroot cd contrib make install ``` +The front-end bundles (under `src/Yavsc.Org/wwwroot/js/*.bundle.min.js` +and `src/Yavsc.Org/wwwroot/css/*.min.css`) are produced by `npm run +build:js` and committed to the repo, so the runtime .NET stack does +not need a Node toolchain at publish time. Re-run `npm run build:js` +after editing any of the entry files under `src/Yavsc.Org/wwwroot/js/` +or any of the `build/*.entry.js` bundle manifests. + About the mobile app, ```bash