README.md 708 字节
Newer Older
1 2
# TDengine driver connector for Lua

3
It's a Lua implementation for [TDengine](https://github.com/taosdata/TDengine), an open-sourced big data platform designed and optimized for the Internet of Things (IoT), Connected Cars, Industrial IoT, and IT Infrastructure and Application Monitoring. You may need to install Lua5.3 .
4

5
## Lua Dependencies
6 7 8 9 10
- Lua: 
```
https://www.lua.org/
```

11
## Run with Lua Sample
12 13 14 15 16 17 18 19 20

Build driver lib:
```
./build.sh
```
Run lua sample:
```
lua test.lua
```
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39

## OpenResty Dependencies
- OpenResty: 
```
http://openresty.org
```
## Run with OpenResty Sample

Build driver lib:
```
cd lua51
./build.sh
```
Run OpenResty sample:
```
openresty -p .
curl http://127.0.0.1:7000/api/test
```