From ae61d35e7ee4101b449792fa97b8695a4830a045 Mon Sep 17 00:00:00 2001 From: Condorra Date: Sat, 16 Nov 2024 23:54:57 +1100 Subject: [PATCH] Add instructions for getting npm packages to build instructions. --- worldwideportal-static/content/docs/setup-guide.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/worldwideportal-static/content/docs/setup-guide.md b/worldwideportal-static/content/docs/setup-guide.md index 169127a..3669863 100644 --- a/worldwideportal-static/content/docs/setup-guide.md +++ b/worldwideportal-static/content/docs/setup-guide.md @@ -181,6 +181,12 @@ The quickest option there is to run `curl https://sh.rustup.rs -sSf | sh`. `cargo install --locked trunk` +### Install nodejs / npm + +Follow the instructions [here](https://nodejs.org/en/download/package-manager/) or get it from your package manager. + +It is only used to get packages from npm, so you don't need the latest and greatest. + ### Build worldwideportal-server ``` @@ -193,6 +199,7 @@ popd ``` pushd worldwideportal +npm install trunk build --release popd ```