♻️ Adds requirements

This commit is contained in:
Rune Harlyk
2026-01-03 16:47:34 +01:00
committed by nikguin04
parent e3ae62e120
commit c4b1ae8335
2 changed files with 2 additions and 10 deletions
-10
View File
@@ -1,10 +0,0 @@
This file is temporary, just to show how ot compile the proto files
Make sure to actually create the output directories before executing the commands
TS:
protoc --plugin="protoc-gen-ts_proto=$(Resolve-Path app\node_modules\.bin\protoc-gen-ts_proto.CMD)" --ts_proto_out="./app/src/lib/platform_shared" --ts_proto_opt=outputSchema=true --proto_path ".\platform_shared\" ".\platform_shared\rest_message.proto" ".\platform_shared\websocket_message.proto"
C++ (nanopb):
pip install protobuf grpcio-tools
python ./submodules/nanopb/generator/nanopb_generator.py -I "./platform_shared/" -D ./esp32/src/platform_shared/ ./platform_shared/websocket_message.proto ./platform_shared/rest_message.proto
+2
View File
@@ -0,0 +1,2 @@
protobuf
grpcio-tools