Files
scylladb/docs/_utils/setup.sh
2020-12-03 17:37:18 +01:00

12 lines
441 B
Bash
Executable File

#!/usr/bin/env bash
if pwd | egrep -q '\s'; then
echo "Working directory name contains one or more spaces."
exit 1
fi
which python3 || { echo "Failed to find python3. Try installing Python for your operative system: https://www.python.org/downloads/" && exit 1; }
which poetry || curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3 - && source ${HOME}/.poetry/env
poetry install
poetry update