@@ -93,6 +93,12 @@ poetry install # Install dependencies for this episode
poetry run app # Run the application for this episode
```
::::::::::::::::::::::::::::::::::::::::: callout
If you are using the analysis cluster for the tutorial, then please note that `poetry run app` will by default attempt to bind to port 8080 and will fail if the port is already in use. This can happen if others are on the same node as you running the same commands. If this happens, you can change the port the application binds to with `poetry run app --port {myport}`.
::::::::::::::::::::::::::::::::::::::::::::::::
This structure ensures that each code example is isolated and runnable, making it easier for you to follow along with the tutorial and experiment with the code.
@@ -19,6 +19,20 @@ Before proceeding, ensure you have met the following prerequisites:
***Git:** You must have git installed on your system.
***Familiarity with the Command Line:** You will need to be comfortable using the command line or terminal.
::::::::::::::::::::::::::::::::::::::::: callout
You can use the analysis cluster for this tutorial. This is recommended if you use Windows or otherwise can't meet the above prerequisites on your laptop. By default, the `python` command on the cluster will use 3.9, so please explicitly reference `python3.11` where needed.
You can create a virtual environment suitable for the tutorial on the cluster with:
```bash
python3.11 -m venv .venv
source .venv/bin/activate
pip install copier poetry
```
::::::::::::::::::::::::::::::::::::::::::::::::
## 2. Getting your Galaxy API Key
In order to run the code examples in this tutorial, an API Key is required. An API key is obtained from the NDIP instance directly.