diff --git a/README.md b/README.md index dc991f14..314d231e 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,10 @@ For more detailed installation see [here](https://coreemu.github.io/core/install ```shell git clone https://github.com/coreemu/core.git cd core +# install dependencies to run installation task ./setup.sh +# run the following or add ~/.local/bin to PATH +python3 -m pipx ensurepath # Ubuntu inv install # CentOS diff --git a/docs/install.md b/docs/install.md index 8874984a..dc9903a5 100644 --- a/docs/install.md +++ b/docs/install.md @@ -120,6 +120,14 @@ First we will need to clone and navigate to the CORE repo. # clone CORE repo git clone https://github.com/coreemu/core.git cd core +# install dependencies to run installation task +./setup.sh +# run the following or add ~/.local/bin to PATH +python3 -m pipx ensurepath +# Ubuntu +inv install +# CentOS +./install.sh -p /usr ``` First you can use `setup.sh` as a convenience to install tooling for running invoke tasks: diff --git a/setup.sh b/setup.sh index eb81a451..13c25de9 100755 --- a/setup.sh +++ b/setup.sh @@ -17,7 +17,6 @@ fi # install tooling for invoke based installation python3 -m pip install --user pipx==0.16.4 -python3 -m pipx ensurepath export PATH=$PATH:~/.local/bin pipx install invoke==1.4.1 pipx install poetry==1.1.12