Installing Islandora Workbench¶
If possible, ask your IT department to install Islandora Workbench for you. It will save you a lot of headache. Give them the official Islandora Workbench installation instructions.
These instructions may be slightly different depending on your computer, operating system version, etc. You may wish to consult with your IT department to get Islandora Workbench installed if you have those resources available to you.
On a Mac¶
You will be doing all of this work in the Terminal. Find it in your Applications folder, under Utilities.
Life on a Mac is easier if you have Homebrew. Check if you have it installed: brew doctor. If you get "command not found: brew", then install it following the Homebrew instructions or just copy and paste this command: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)".
- First, make sure you have a usable version of Python 3 installed. You will need version 3.9 or higher.
- Enter either
python --versionorpython3 --version - If you get no useful information (eg "command not found"), or an outdated version, install with Homebrew:
brew install python
- Enter either
- Make sure you have Git installed:
git --version- If you don't, install it with Homebrew:
brew install git
- If you don't, install it with Homebrew:
- Navigate to your home directory -
cd ~- and clone the Islandora Workbench Git repository:git clone https://github.com/mjordan/islandora_workbench.git
- Navigate into the Islandora Workbench directory:
cd islandora_workbench
- Create a Python virtual environment.
- Make sure you're in the Islandora Workbench directory:
cd ~/islandora_workbench - Create the virtual environment:
python3 -m venv venv
- Make sure you're in the Islandora Workbench directory:
- Activate the virtual environment, from within your
islandora_workbenchdirectory:source venv/bin/activate- You will see
(venv)in your command prompt now, letting you know that you're currently in a Python virtual environment. - You will need to do this every time you want to work in Workbench, so that you have access to the various required libraries and plugins.
- Install the required Python libraries (see the full list at https://mjordan.github.io/islandora_workbench_docs/installation/)
- For each of the libraries, enter
pip install [library-name]. - This is case-sensitive, so copy and paste or enter carefully.
- For each of the libraries, enter
- Start using Workbench.