AgPerry's picture
Add files using upload-large-folder tool
489b6e2 verified
Raw History Blame Contribute Delete
337 Bytes
#!/usr/bin/env bash
set -Eeuo pipefail
root="$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)"
: "${HOST:=127.0.0.1}"
: "${PORT:=8080}"
: "${DATA_DIR:=/tmp/websitebench-lowes-reference-data}"
: "${SEED:=0}"
: "${TZ:=UTC}"
export HOST PORT DATA_DIR SEED TZ
if [ ! -x "$root/executable" ]; then
"$root/compile.sh"
fi
exec "$root/executable"