A remote computing platform based on Proto Actor for cloud-edge applications.
Install pkg-config, libczmq-dev, this can be done on Ubuntu with:
sudo apt-get install pkg-config libczmq-devThen, create a venv and install gRPC, which is needed for generating protocol buffer code for Python and Go:
python -m venv venv
source venv/bin/activate
pip install grpcio
pip install grpcio-tools
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest After installing gRPC, run under proto folder:
bash protobuf-gen.shThis will generate Go and Python bindings for the protobuf messages and gRPC services used in the project.
In order to communicate with actor platform, you need to install actorc client package. To install it, go to clients/py and run:
pip install -e .The client also depends on Lucas, which is not included by pypi. Therefore, you need to install it manually:
git clone https://github.com/Xdydy/Lucas.git
cd Lucas && pip install -e .An example is under development...