2018-08-22 22:05:38 +08:00
|
|
|
#!/bin/bash -e
|
2017-06-09 15:28:18 +08:00
|
|
|
|
2018-08-22 22:05:38 +08:00
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
cd "$DIR"
|
2017-07-13 02:17:26 +08:00
|
|
|
|
2020-09-21 18:22:40 +08:00
|
|
|
if ! which node >/dev/null; then
|
2018-08-22 22:05:38 +08:00
|
|
|
echo "Please install nodejs!"
|
2017-06-09 15:28:18 +08:00
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2018-08-22 22:05:38 +08:00
|
|
|
if [ ! -d node_modules ]; then
|
|
|
|
# Driver generated with: `npm install neo4j-driver`
|
2023-06-13 00:55:15 +08:00
|
|
|
npm install --no-package-lock --no-save neo4j-driver@4.1.1
|
2017-06-09 15:28:18 +08:00
|
|
|
fi
|
|
|
|
|
2020-10-24 00:02:33 +08:00
|
|
|
node docs_how_to_query.js
|
2020-09-21 18:22:40 +08:00
|
|
|
node max_query_length.js
|
2023-05-29 17:40:14 +08:00
|
|
|
node metadata.js
|