mirror of
https://github.com/Start9Labs/documentation.git
synced 2026-03-26 10:21:53 +00:00
12 lines
433 B
Bash
Executable File
12 lines
433 B
Bash
Executable File
#! /bin/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/1.1.3/get-poetry.py | python3 - && source ${HOME}/.poetry/env
|
|
poetry install
|
|
poetry update
|