From 4141e2228a01eca056ad1439c6908ad96ed37096 Mon Sep 17 00:00:00 2001 From: Lucy Cifferello <12953208+elvece@users.noreply.github.com> Date: Mon, 24 Jan 2022 12:36:02 -0700 Subject: [PATCH] update environment dependencies for macos setup --- .gitignore | 3 ++- README.md | 8 ++++++++ site/_utils/setup.sh | 3 ++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index c89111e..8f9a59b 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ .vscode/ build-send.sh site/_build -.env \ No newline at end of file +.env +site/_utils/docsearch* \ No newline at end of file diff --git a/README.md b/README.md index cf264ac..7bc4ea6 100644 --- a/README.md +++ b/README.md @@ -25,8 +25,16 @@ The [extension](https://github.com/Holzhaus/sphinx-multiversion) used to build d ## Dependencies +Install [python3] (https://www.python.org/downloads/) +Install [poetry] (https://python-poetry.org/docs/) Install [pyenv](https://github.com/pyenv/pyenv) +For installations with MacOS: + +``` +brew install python3 +brew install poetry +``` ## Project Setup diff --git a/site/_utils/setup.sh b/site/_utils/setup.sh index b8f5024..96826f3 100755 --- a/site/_utils/setup.sh +++ b/site/_utils/setup.sh @@ -6,6 +6,7 @@ if pwd | egrep -q '\s'; then 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 +which poetry || curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3 - && source ${HOME}/.poetry/env + poetry install poetry update