Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Следующая версия
Предыдущая версия
application:reana [2024/08/23 09:52] – создано mirocowapplication:reana [2024/08/27 21:19] (текущий) – [Установка] mirocow
Строка 1: Строка 1:
 ====== Reana ====== ====== Reana ======
 +
 +===== Установка =====
  
 <code bash> <code bash>
-curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 +minikube start --kubernetes-version 1.29 
-+$ wget https://raw.githubusercontent.com/reanahub/reana/maint-0.9/etc/kind-localhost-30443.yaml 
 +$ kind create cluster --config kind-localhost-30443.yaml 
 +$ wget https://raw.githubusercontent.com/reanahub/reana/maint-0.9/scripts/prefetch-images.sh 
 +$ sh prefetch-images.sh 
 +helm repo add reanahub https://reanahub.github.io/reana 
 +helm repo update 
 +$ helm install reana reanahub/reana --namespace reana --create-namespace --wait 
 +</code> 
 + 
 +==== Ошибки ==== 
 + 
 +== 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/24 kind 
 +</code> 
 + 
 +===== Создание админ пользователя ===== 
 + 
 +<code bash> 
 +$ wget https://raw.githubusercontent.com/reanahub/reana/maint-0.9/scripts/create-admin-user.sh 
 +sh create-admin-user.sh reana reana john.doe@example.org mysecretpassword 
 +</code> 
 + 
 +===== Подготовка системного окружения пользователя ===== 
 + 
 +<code bash> 
 +# create new virtual environment 
 +$ virtualenv ~/.virtualenvs/reana 
 +$ source ~/.virtualenvs/reana/bin/activate 
 +# install reana-client 
 +$ pip install reana-client 
 +</code> 
 + 
 +===== Создание проекта ===== 
 + 
 +<code bash> 
 +# clone and run a simple analysis example 
 +$ git clone httpseana-demo-root6-roofit://github.com/reanahub/
 +$ cd reana-demo-root6-roofit 
 +# set REANA environment variables for the client 
 +$ export REANA_SERVER_URL=https://10.36.200.26 
 +$ export REANA_ACCESS_TOKEN=6EaJcf1fS_Mwiqpt66l_tw 
 +$ reana-client run -w root6-roofit 
 +</code> 
 + 
 +===== Работа с проектом ===== 
 + 
 +<code bash> 
 +$ git clone https://github.com/reanahub/reana-demo-root6-roofit 
 +$ cd reana-demo-root6-roofit    # we now have cloned an example 
 +$ reana-client create -w roofit # create new workflow called "roofit" 
 +$ export REANA_WORKON=roofit    # save workflow name we are currently working on 
 +$ reana-client upload           # upload code and inputs to remote workspace 
 +$ reana-client start            # start the workflow 
 +$ reana-client status           # check its status 
 +# ... wait a minute or so for workflow to finish 
 +$ reana-client status           # check whether it is finished 
 +$ reana-client logs             # check its output logs 
 +$ reana-client ls               # list its workspace files 
 +$ reana-client download results/plot.png  # download output plot
 </code> </code>