update documentation

This commit is contained in:
Cristi Ene 2025-02-27 13:34:55 +02:00
parent f7053359a5
commit a5c00ba10a

View File

@ -9,17 +9,22 @@
### Development
##### To start in development mode you must:
1. Install the dependencies `npm install`.
2. Go to the linx-devops project and run the `create_certificate_for_domain.sh` script from `private-system-trusted-cert`, it expects an ip/domain as the first argument.
ex: `sh create_certificate_for_domain.sh 192.168.1.199`
(Use your private IP-address)
2. Go to the `linx-devops/scaling-tools/private-system-truste-cert` project and generate a new server certificate and key:
sh create_certificate_for_domain.sh 192.168.1.110 #local IP
# generates files
nginx-selfsigned.crt
device.key
3. You need to update the Video Server in the provisioning to point to your private IP. ex: https://192.168.1.199:3000
4. The generated files must be moved to server/ssl and renamed as follows:
- device.key -> key.pem
- nginx-selfsigned.crt -> cert.pem
cp device.key {mediasoup_project}/server/ssl/key.pem
cp nginx-selfsigned.crt {mediosup_project}/server/ssl/cert.pem
5. Go to https://dev.linx.safemobile.com/dispatcher/resources/help/LINXHelp.html#safemobile-certificate-import and import the certificate for your system type