Skip to content
Snippets Groups Projects
Commit 90f69c09 authored by Martin Vala's avatar Martin Vala
Browse files

Added some documentation

parent b3ce23ae
No related branches found
No related tags found
No related merge requests found
# nodejs tutorial
## Install
### Add respoitory from
1. Go to https://copr.fedorainfracloud.org/coprs/mvala/hlit/ and download repo file. And save it in /etc/yum.repos.d
2. Install it via yum or dnf
```
yum install nodejs npm czmq-devel
```
## Start sensor (simple broker)
```
$ cd cpp-app
# compile app
$ gcc -lstdc++ -lczmq -lzmq -o test test.cpp
# Run app
$ ./test
```
## Start server
```
npm start
```
Visit web page at http://localhost:3000
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment