My Diploma work In this repositorie, I keep my diploma work, because I don`t want his to lose. In camera_file directory:
- export IP='your ip address for server'
- make start_http_server // starting server with https protocol
- make compile // compiling source files
- make clean // clear executable file
- cd Diploma
- make compile
- node server.js IP
- ./tcp_server/ws-server IP
- cd /usr/local/include/
- ln -s ../opt/openssl/include/openssl .
- export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/opt/openssl/lib/
openssl req -new -newkey rsa:4096 -days 36500 -nodes -x509 -keyout "localhost-100y.key" -out "localhost-100y.cert
- git clone -b v3.2-stable https://github.com/warmcat/libwebsockets.git
- cd libwebsockets/
- mkdir build
- cd build
- cmake ..
- make
- sudo make install