Skip to content

Latest commit

 

History

History
33 lines (29 loc) · 703 Bytes

readme.md

File metadata and controls

33 lines (29 loc) · 703 Bytes

Modellsteuerung Backend

Requirements

Build requires:

  • python3 (yay -S python)
  • just (yay -S just)
  • dot (yay -S graphviz)
  • protoc-gen-grpc-web (yay -S protoc-gen-grpc-web)
  • envoy (yay -S envoyproxy-bin)
  • node js with npx

so, for archlinux:

yay -Sy python just protoc-gen-grpc-web graphviz envoyproxy-bin nodejs

also, you need to install the python dependencies:

pip install -r requirements.txt

and the node dependencies:

just proto-js-setup

Running

just env # create virtual environment
just proto # generate python code from proto files
just proto-js # generate ts code from proto files
just run # run server
just envoy # run envoy proxy