diff --git a/docs/source/building/linux.rst b/docs/source/building/linux.rst index 009ef882..1a18403a 100644 --- a/docs/source/building/linux.rst +++ b/docs/source/building/linux.rst @@ -32,6 +32,8 @@ Install Requirements libxfixes-dev \ # X11 libxrandr-dev \ # X11 libxtst-dev \ # X11 + nodejs \ + npm \ nvidia-cuda-dev \ # Cuda, NvFBC nvidia-cuda-toolkit \ # Cuda, NvFBC @@ -65,6 +67,8 @@ Install Requirements libXrandr-devel \ # X11 libXtst-devel \ # X11 mesa-libGL-devel \ + nodejs \ + npm \ openssl-devel \ opus-devel \ pulseaudio-libs-devel \ @@ -112,6 +116,8 @@ Install Requirements libxfixes-dev \ # X11 libxrandr-dev \ # X11 libxtst-dev \ # X11 + nodejs \ + npm \ wget \ Update gcc alias @@ -163,6 +169,8 @@ Install Requirements libxfixes-dev \ # X11 libxrandr-dev \ # X11 libxtst-dev \ # X11 + nodejs \ + npm \ wget \ Update gcc alias @@ -204,9 +212,20 @@ Install Requirements libxfixes-dev \ # X11 libxrandr-dev \ # X11 libxtst-dev \ # X11 + nodejs \ + npm \ nvidia-cuda-dev \ # Cuda, NvFBC nvidia-cuda-toolkit \ # Cuda, NvFBC +npm dependencies +---------------- +Install npm dependencies. + .. code-block:: bash + + pushd ./src_assets/common/assets/web + npm install + popd + Build ----- .. Attention:: Ensure you are in the build directory created during the clone step earlier before continuing. diff --git a/docs/source/building/macos.rst b/docs/source/building/macos.rst index 074eaf4e..c79e3d7a 100644 --- a/docs/source/building/macos.rst +++ b/docs/source/building/macos.rst @@ -12,18 +12,27 @@ MacPorts Install Requirements .. code-block:: bash - sudo port install cmake boost ffmpeg libopus + sudo port install cmake boost ffmpeg libopus npm9 Homebrew """""""" Install Requirements .. code-block:: bash - brew install boost cmake ffmpeg opus + brew install boost cmake ffmpeg node opus # if there are issues with an SSL header that is not found: cd /usr/local/include ln -s ../opt/openssl/include/openssl . +npm dependencies +---------------- +Install npm dependencies. + .. code-block:: bash + + pushd ./src_assets/common/assets/web + npm install + popd + Build ----- .. Attention:: Ensure you are in the build directory created during the clone step earlier before continuing. diff --git a/docs/source/building/windows.rst b/docs/source/building/windows.rst index 43f84a22..c42ebc52 100644 --- a/docs/source/building/windows.rst +++ b/docs/source/building/windows.rst @@ -12,6 +12,17 @@ following packages using: mingw-w64-x86_64-toolchain mingw-w64-x86_64-opus mingw-w64-x86_64-x265 mingw-w64-x86_64-boost \ git mingw-w64-x86_64-make cmake make gcc +npm dependencies +---------------- +Install nodejs and npm. Downloads available `here `_. + +Install npm dependencies. + .. code-block:: bash + + pushd ./src_assets/common/assets/web + npm install + popd + Build ----- .. Attention:: Ensure you are in the build directory created during the clone step earlier before continuing.