mirror of
https://github.com/Start9Labs/documentation.git
synced 2026-03-26 02:11:55 +00:00
update environment dependencies for macos setup
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -3,3 +3,4 @@
|
|||||||
build-send.sh
|
build-send.sh
|
||||||
site/_build
|
site/_build
|
||||||
.env
|
.env
|
||||||
|
site/_utils/docsearch*
|
||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user