Skip to content

Commit 90ed77b

Browse files
authored
README file completed (#13)
Co-authored-by: Mohammad Mahdi Malmasi
1 parent 33943eb commit 90ed77b

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

README.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,20 @@
1-
# AIaaS-gRPC-protos
1+
# AIaaS gRPC protos ⌘
2+
In AIaaS project, we use gRPC to communicate between microservices.\
3+
This repository contains the gRPC protos for AIaaS project.\
4+
You can find the gRPC protos in the `protos` directory.\
5+
Read more about gRPC [here](https://grpc.io/docs/what-is-grpc/introduction/).
6+
7+
8+
## How to add a new gRPC proto?
9+
1. checkout a new branch from `master` branch
10+
2. add a folder for your microservice in `protos` directory if it doesn't exist
11+
3. add your proto file in the folder you created in step 2
12+
4. make sure your proto file is valid
13+
5. commit and push your changes
14+
6. create a pull request to merge your branch into `master` branch
15+
16+
## How to use the gRPC my microservice project?
17+
After you add your proto file to this repository and your pull request is merged into `master` branch, you can have your
18+
proto python package in [this](https://github.com/ECTLab/AIaaS-gRPC-protos-Autogenerated-Python) repository.\
19+
For each merged pull request, a new version tag will be created.
20+
You can find the version tag of python package [here](https://github.com/ECTLab/AIaaS-gRPC-protos-Autogenerated-Python/tags)

0 commit comments

Comments
 (0)