docker-stats-histo/generate_html.sh
2021-12-02 21:01:26 +01:00

15 lines
304 B
Bash
Executable File

#!/usr/bin/env bash
set -eu
# Move in repo folder
SCRIPT_PATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
pushd "${SCRIPT_PATH}" > /dev/null
venv/bin/python generate_html.py stats.sqlite /home/caracals/services/org-caracals-files/files/stats.html
# Back to original path
popd > /dev/null