Различия
Показаны различия между двумя версиями страницы.
Следующая версия | Предыдущая версия | ||
application:reana [2024/08/23 09:52] – создано mirocow | application:reana [2024/08/27 21:19] (текущий) – [Установка] mirocow | ||
---|---|---|---|
Строка 1: | Строка 1: | ||
====== Reana ====== | ====== Reana ====== | ||
+ | |||
+ | ===== Установка ===== | ||
<code bash> | <code bash> | ||
- | $ curl -fsSL -o get_helm.sh https:// | + | $ minikube start --kubernetes-version 1.29 |
- | $ | + | $ wget https:// |
+ | $ kind create cluster --config kind-localhost-30443.yaml | ||
+ | $ wget https:// | ||
+ | $ sh prefetch-images.sh | ||
+ | $ helm repo add reanahub https:// | ||
+ | $ helm repo update | ||
+ | $ helm install reana reanahub/reana --namespace reana --create-namespace --wait | ||
+ | </ | ||
+ | |||
+ | ==== Ошибки ==== | ||
+ | |||
+ | == Command Output: Error response from daemon: could not find an available, non-overlapping IPv4 address pool among the defaults to assign to the network == | ||
+ | <code bash> | ||
+ | $ docker network create -d=bridge -o com.docker.network.bridge.enable_ip_masquerade=true -o com.docker.network.driver.mtu=1500 --subnet=172.119.0.0/ | ||
+ | </ | ||
+ | |||
+ | ===== Создание админ пользователя ===== | ||
+ | |||
+ | <code bash> | ||
+ | $ wget https:// | ||
+ | $ sh create-admin-user.sh reana reana john.doe@example.org mysecretpassword | ||
+ | </ | ||
+ | |||
+ | ===== Подготовка системного окружения пользователя ===== | ||
+ | |||
+ | <code bash> | ||
+ | # create new virtual environment | ||
+ | $ virtualenv ~/ | ||
+ | $ source ~/ | ||
+ | # install reana-client | ||
+ | $ pip install reana-client | ||
+ | </ | ||
+ | |||
+ | ===== Создание проекта ===== | ||
+ | |||
+ | <code bash> | ||
+ | # clone and run a simple analysis example | ||
+ | $ git clone httpseana-demo-root6-roofit:// | ||
+ | $ cd reana-demo-root6-roofit | ||
+ | # set REANA environment variables for the client | ||
+ | $ export REANA_SERVER_URL=https:// | ||
+ | $ export REANA_ACCESS_TOKEN=6EaJcf1fS_Mwiqpt66l_tw | ||
+ | $ reana-client run -w root6-roofit | ||
+ | </ | ||
+ | |||
+ | ===== Работа с проектом ===== | ||
+ | |||
+ | <code bash> | ||
+ | $ git clone https:// | ||
+ | $ cd reana-demo-root6-roofit | ||
+ | $ reana-client create -w roofit # create new workflow called " | ||
+ | $ export REANA_WORKON=roofit | ||
+ | $ reana-client upload | ||
+ | $ reana-client start # start the workflow | ||
+ | $ reana-client status | ||
+ | # ... wait a minute or so for workflow to finish | ||
+ | $ reana-client status | ||
+ | $ reana-client logs # check its output logs | ||
+ | $ reana-client ls # list its workspace files | ||
+ | $ reana-client download results/ | ||
</ | </ |