Skip to content

sean830314/AQI-grpc-server

Repository files navigation

What is AQI-GRPC-Server

AQI-GRPC-Server is a grpc server that can be used to access databases via grpc protocol by users.

Run app for Local

  1. Clone AQi-grpc-server repository
    git clone https://github.com/sean830314/AQI-grpc-server.git
  2. setting your config file to etc
    cd clone_repo
    vim ./config/config.yaml
  3. run app
    python3 server.py --config your_config

Build docker image

  1. Install docker

  2. Execute build command

    docker build -t sean830314/aqi-grpc-server:v1 .

Local Development with Docker Compose

  1. deploy containers

    docker-compose up
  2. delete containers

    docker-compose down

Example

kroos0314@ubuntu16:~/python/AQI-grpc-server$ python3 client.py  --S
usage: client.py [-h] [--County COUNTY] [--SiteName SITENAME]
client.py: error: argument --SiteName: expected one argument

Alt text Alt text Alt text Alt text

References

Releases

No releases published

Packages

No packages published

Languages