From 5189e3d1ce1116c7b45948e625e830bf3720372d Mon Sep 17 00:00:00 2001 From: Florian Rau Date: Wed, 23 Aug 2023 13:56:00 +0100 Subject: [PATCH] Update installation.rst --- docs/source/installation.rst | 56 +++++++++++++++++++----------------- 1 file changed, 29 insertions(+), 27 deletions(-) diff --git a/docs/source/installation.rst b/docs/source/installation.rst index 9d95a1e6f..7285e1de9 100644 --- a/docs/source/installation.rst +++ b/docs/source/installation.rst @@ -40,49 +40,51 @@ Then exit the admin window and open a new Windows Powershell prompt (no admin mo Install iblrigv8 ---------------- -From the Powershell command line, clone iblrig to the ‘iblrigv8’ directory, and switch to iblrigv8 branch +1. From the Powershell command line, clone iblrig to the ‘iblrigv8’ directory, and switch to iblrigv8 branch -.. code-block:: powershell + .. code-block:: powershell - cd C:\ - git clone https://github.com/int-brain-lab/iblrig.git iblrigv8 - cd iblrigv8 - git checkout iblrigv8 + cd C:\ + git clone https://github.com/int-brain-lab/iblrig.git iblrigv8 + cd iblrigv8 + git checkout iblrigv8 -Install a new virtual environment and update pip (modify the value if needed) +2. Install a new virtual environment and update pip (modify the value if needed) -.. code-block:: powershell + .. code-block:: powershell - C:\Users\IBLuser\AppData\Local\Programs\Python\Python310\.\python.exe -m venv C:\iblrigv8\venv - C:\iblrigv8\venv\scripts\python.exe -m pip install --upgrade pip wheel + C:\Users\IBLuser\AppData\Local\Programs\Python\Python310\.\python.exe -m venv C:\iblrigv8\venv + C:\iblrigv8\venv\scripts\python.exe -m pip install --upgrade pip wheel -Install iblrig in editable mode +3. Install iblrig in editable mode -.. code-block:: powershell + .. code-block:: powershell + + C:\iblrigv8\venv\scripts\Activate.ps1 + cd C:\iblrigv8 + pip install -e . + pip install -r requirements.txt - C:\iblrigv8\venv\scripts\Activate.ps1 - cd C:\iblrigv8 - pip install -e . - pip install -r requirements.txt -Install Bonsai in portable mode +4. Install additional tasks and extractors -.. code-block:: powershell + .. code-block:: powershell - cd C:\iblrigv8\Bonsai - powershell.exe .\install.ps1 - cd .. + cd C:\ + git clone https://github.com/int-brain-lab/project_extraction.git + cd project_extraction + pip install -e . -Install additional personal project tasks and extractors -.. code-block:: powershell +5. Install Bonsai in portable mode + + .. code-block:: powershell - cd C:\ - git clone https://github.com/int-brain-lab/project_extraction.git - cd project_extraction - pip install -e . + cd C:\iblrigv8\Bonsai + powershell.exe .\install.ps1 + cd ..