The deployment process is divided into different parts along with the different software stacks that need to be deployed. The services that will be deployed are:
- Web-Analytics-Pack
- Exareme
- Galaxy
- Galaxy-Middleware-API
This guide will assist you in deploying all the packs together and explain what dependencies each one has with the rest. This guide does not include detailed installation steps for each service but will prompt you to the appropriate guide.
Each software stack has it's own requirements but in order to deploy everything into one machine you need at least 16 GB of ram.
All of the software stack is based on docker so you need to install it in the machines that you will use:
- docker (tested using version 17.05.0-ce)
- docker-compose (tested using version 1.17.0)
Each software stack has more specific requirments
You can install exareme locally by following this guide: Local Deployment Guide
Or you can install federated exareme by following this guide: Federated Deployment Guide
In the next steps you will need to provide the IP of the master node of Exareme which will be refered as EXAREME_IP so keep that in mind.
In order to deploy Galaxy you need:
EXAREME_IP
(from step 1)EXAREME_PORT
(default 9090)
With that information you can follow the Galaxy Installation Guide to deploy Galaxy.
After installing Galaxy an API key should be created:
- Enter Galaxy from the browser.
- Select the "User" Drop Down menu, on the navigation bar.
- Select the "Preferences" option.
- Select the "Manage API Key" option.
- "Create a new key"
- Copy the key so we can use it in the next step.
From this installation, remember the following details:
GALAXY_URL
(the url where galaxy is visible e.g. http://88.197.53.100:8090/ )GALAXY_API_KEY
(the key that you created inside Galaxy)GALAXY_PASSWORD
(the password that you provided when deploying Galaxy)- The reverse proxy endpoint for galaxy, default to
nativeGalaxy
In order to deploy the Galaxy Middleware API you need:
GALAXY_URL
(from step 2)GALAXY_API_KEY
(from step 2)GALAXY_PASSWORD
(from step 2)
You can now follow this Galaxy Middleware API Deployment Guide
From this installation, remember the following details:
WORKFLOW_URL
(the endpoint of the api e.g. http://88.197.53.100:8091/Galaxy_Middleware_API-1.0.0-SNAPSHOT/api )JWT_SECRET
(provided in the installation process)
Clone this repository in your machine where it will be installed.
In order to deploy the Web Analytics Pack you need:
EXAREME_URL
(EXAREME_IP
:EXAREME_PORT
from step 1 e.g. http://155.105.200.235:9090 )GALAXY_CONTEXT
(reverse proxy endpoint, default tonativeGalaxy
) (from step 2)GALAXY_USERNAME
(GALAXY_USERNAME
:admin
) (from step 2)GALAXY_PASSWORD
(GALAXY_PASSWORD
:password
) (from step 2)JWT_SECRET
(from step 3)
Go to the docker-compose.yml
file and modify these env variables with the values that you have from the previous steps. You can also modify the images of the portal-backend and the portal-frontend depending on what you want to deploy.
Go to the data
folder and there you will find a pathologies.json
file.
This is used to inform the frontend what are the available datasets and CDEs. Modify this file accordingly before deploying.
Run the ./run.sh
command to install the rest of the components.
After the installation is done, MIP will be visible on localhost.