Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xinz/tablestore_protos
https://github.com/xinz/tablestore_protos
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/xinz/tablestore_protos
- Owner: xinz
- License: mit
- Created: 2020-08-07T08:46:42.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-01-11T09:57:18.000Z (12 months ago)
- Last Synced: 2024-10-30T16:56:32.463Z (2 months ago)
- Language: Elixir
- Size: 635 KB
- Stars: 0
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# TableStoreProtos
**Alibaba TableStore Service's proto files for Elixir.**
### How to use:
1, Run `brew install protobuf` on MacOS or similar command(s) to install `protobuf` in local.
2, Make sure the "lib" directory of this repo is existed.
```shell
mkdir -p lib
```3, Use [protox](https://hex.pm/packages/protox) as the Elixir protobuf library (`protox` requires `~> 1.2.4`), to generate the
modules from `protos/*.proto` files, in the root directory of this repo run the corresponding command as below:```shell
mix protox.generate --namespace=ExAliyunOts --keep-unknown-fields=false --multiple-files --output-path=lib --include-path=protos protos/*.proto
```4, The generated `lib/*.ex` files will be used by [Alibaba TableStore Elixir SDK](https://hex.pm/packages/ex_aliyun_ots) as a dependence.