Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 922 Bytes

README.md

File metadata and controls

30 lines (23 loc) · 922 Bytes

ConCurrency

Google mentorship project in which we build a blockchain.

How to Use

  • Clone the repo
git clone https://github.com/srijal30/ConCurrency.git
  • Make sure that you have Python 3 installed.

  • Setup the enviorment (NOTE: replace python with the path to your python3 executable and replace Scripts with bin if you are using a unix OS)

python -m venv venv
. ./venv/Scripts/activate 
pip install -r requirements.txt
  • OPTIONAL: To compile the ProtoBuf files locally, run the following commands
pip install -r dev-requirements.txt
python -m grpc_tools.protoc -I. --python_out=src/model/proto --pyi_out=src/model/proto --grpc_python_out=src/model/proto schema.proto

How to Rend Setup Server

python -m grpc_tools.protoc -I. --python_out=src/model/proto --pyi_out=src/model/proto --grpc_python_out=src/model/proto server.proto