d14a4b69ab
Summary: Query Size Limit in Python, Java, JavaScript Reviewers: mferencevic, mislav.bradac, teon.banek Reviewed By: mferencevic, teon.banek Subscribers: pullbot, buda Differential Revision: https://phabricator.memgraph.io/D508
29 lines
490 B
Bash
Executable File
29 lines
490 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
VIRTUALENV=virtualenv
|
|
PIP=pip
|
|
PYTHON=python
|
|
WORKING_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
cd ${WORKING_DIR}
|
|
|
|
# system check
|
|
if ! which $VIRTUALENV >/dev/null; then
|
|
echo "Please install virtualenv!"
|
|
exit 1
|
|
fi
|
|
|
|
# setup virtual environment
|
|
if [ ! -d "ve3" ]; then
|
|
virtualenv -p python3 ve3 || exit 1
|
|
fi
|
|
source ve3/bin/activate
|
|
$PIP install --upgrade pip
|
|
$PIP install neo4j-driver
|
|
|
|
# execute test
|
|
$PYTHON basic.py
|
|
$PYTHON max_query_length.py
|