update environment dependencies for macos setup

This commit is contained in:
Lucy Cifferello
2022-01-24 12:36:02 -07:00
parent 0883e6a336
commit 4141e2228a
3 changed files with 12 additions and 2 deletions

1
.gitignore vendored
View File

@@ -3,3 +3,4 @@
build-send.sh build-send.sh
site/_build site/_build
.env .env
site/_utils/docsearch*

View File

@@ -25,8 +25,16 @@ The [extension](https://github.com/Holzhaus/sphinx-multiversion) used to build d
## Dependencies ## Dependencies
Install [python3] (https://www.python.org/downloads/)
Install [poetry] (https://python-poetry.org/docs/)
Install [pyenv](https://github.com/pyenv/pyenv) Install [pyenv](https://github.com/pyenv/pyenv)
For installations with MacOS:
```
brew install python3
brew install poetry
```
## Project Setup ## Project Setup

View File

@@ -6,6 +6,7 @@ if pwd | egrep -q '\s'; then
fi fi
which python3 || { echo "Failed to find python3. Try installing Python for your operative system: https://www.python.org/downloads/" && exit 1; } 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 install
poetry update poetry update