Skip to content

magedu/django-grpc-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-grpc-framework

Django gRPC Framework

Generating code

python manage.py compileprotos

Clean generated code

python manage.py cleanprotos

Run gRPC server

python manage.py rungrpcserver

settings

GRPC_FRAMEWORK = {
    'PROTOBUF_DIR': 'protos', # protobuf files directory
    'TMP_DIR': '.generated', # generated files temporary directory
    'BIND': '127.0.0.1:5051', # gRPC server bind address and port
    'MAX_WORKERS': 8 # gRPC server worker number
}

Releases

No releases published

Packages

No packages published

Languages