mirror of
https://github.com/taosdata/TDengine
synced 2026-05-24 10:09:01 +00:00
* docs: add R example source code * test: check if RJDBC was installed * test: add R test scripts * test: chmod of test_R.sh * test: fix test_go.sh; add R sample to document * test: add test scripts to cases.task * test: fix errors caused by tset_python.sh and test_java.sh * test: fix test_python.sh * test: modify java test case and improve opentsdb-json.mdx * test: fix test_R.sh
37 lines
665 B
Bash
Executable file
37 lines
665 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
pgrep taosd || taosd >> /dev/null 2>&1 &
|
|
pgrep taosadapter || taosadapter >> /dev/null 2>&1 &
|
|
|
|
cd ../../docs-examples/node
|
|
|
|
npm install
|
|
cd restexample;
|
|
|
|
node connect.js
|
|
|
|
cd ../nativeexample
|
|
|
|
node connect.js
|
|
|
|
taos -s "drop database if exists power"
|
|
node insert_example.js
|
|
|
|
node query_example.js
|
|
|
|
taos -s "drop database if exists power"
|
|
node param_bind_example.js
|
|
|
|
taos -s "drop database if exists power"
|
|
node multi_bind_example.js
|
|
|
|
taos -s "drop database if exists test"
|
|
node influxdb_line_example.js
|
|
|
|
taos -s "drop database if exists test"
|
|
node opentsdb_telnet_example.js
|
|
|
|
taos -s "drop database if exists test"
|
|
node opentsdb_json_example.js
|