-
Run ./scripts/mac_setup_dependencies.sh (if it won't work, then you probably must chmod +x /scripts/mac_setup_dependencies.sh first)
-
Build: mkdir build && cd build && cmake ..
-
Run (in separate terminals):
- Sensors:
- ./sensor-service --service=cpu-temp --addr=0.0.0.0:50051
- ./sensor-service --service=cpu-usage --addr=0.0.0.0:50052
- Platform:
- ./platform-service
Or alternatively use scripts/mac_run_network.sh
- Sensors:
- Install needed prerequisites: protobuf and grpc. Since it is a C++ project, please follow the installation guide for this language.
...And rest of steps are similar to MacOS