Merge remote-tracking branch 'origin/websrv-small-regression' into integration_2024_w42 (!2997)

This commit is contained in:
Robert Schmidt
2024-10-18 06:31:34 +02:00
2 changed files with 25 additions and 1 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ add_library(websrv MODULE
websrv_utils.c
../../../openair1/PHY/TOOLS/nr_phy_scope.c
)
target_link_libraries(websrv PRIVATE ulfius jansson)
target_link_libraries(websrv PRIVATE ulfius jansson asn1_nr_rrc_hdrs)
target_compile_definitions(websrv PUBLIC WEBSRVSCOPE)
# put websrv into build root and not under build/common/utils/websrv/
set_target_properties(websrv PROPERTIES LIBRARY_OUTPUT_DIRECTORY ../../..)
+24
View File
@@ -38,6 +38,20 @@ $ sudo dnf install -y jansson-devel npm curl wget
ulfius has to be installed as explained [here](https://github.com/babelouest/ulfius/blob/master/INSTALL.md#pre-compiled-packages).
## Install from source if needed
```bash
sudo dnf install -y jansson-devel npm curl wget libmicrohttpd-devel curl curlpp-devel systemd-devel
git clone https://github.com/babelouest/orcania.git
cd orcania; mkdir build; cd build; cmake ..; sudo make install
cd
git clone https://github.com/babelouest/yder.git
cd yder ; mkdir build; cd build; cmake ..; sudo make install
git clone https://github.com/babelouest/ulfius.git
cd ulfius
mkdir build; cd build; cmake ..; sudo make install
```
## Additional dependencies for the frontend
Currently the web server frontend can run with nodejs 18, you can check the
@@ -54,6 +68,16 @@ beyond this doc.
For example, to install a specific nodeJS version, you can run the below
command, with the typical output printed below for your convenience:
install method by nvm
```bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
source ~/.bashrc
nvm install 18
nvm use 18
```
install by apt-get
```bash
$ curl -s https://deb.nodesource.com/setup_18.x | sudo bash