mirror of
https://github.com/Start9Labs/documentation.git
synced 2026-03-26 02:11:55 +00:00
align with updates in preparation for merging with the version for eos0.3.0
This commit is contained in:
11
site/_utils/setup.sh
Executable file
11
site/_utils/setup.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#! /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
|
||||
Reference in New Issue
Block a user