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'.
This commit is contained in:
parent
952d263b9f
commit
07d219e487
1 changed files with 10 additions and 1 deletions
11
INSTALL.md
11
INSTALL.md
|
|
@ -1,15 +1,24 @@
|
||||||
# Install
|
# 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
|
```bash
|
||||||
git clone https://github.com/pschneider/yavsc.git
|
git clone https://github.com/pschneider/yavsc.git
|
||||||
cd yavsc
|
cd yavsc
|
||||||
dotnet restore
|
dotnet restore
|
||||||
|
npm install # restore front-end dependencies
|
||||||
|
npm run build:js # build the JS/CSS bundles into wwwroot
|
||||||
cd contrib
|
cd contrib
|
||||||
make install
|
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,
|
About the mobile app,
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue