Показать страницуИстория страницыСсылки сюдаCopy this pageExport to MarkdownODT преобразованиеНаверх Вы загрузили старую версию документа! Сохранив её, вы создадите новую текущую версию с этим содержимым. Медиафайлы====== Reana ====== ===== Установка ===== <code bash> $ wget https://raw.githubusercontent.com/reanahub/reana/maint-0.9/etc/kind-localhost-30443.yaml $ kind create cluster --config kind-localhost-30443.yaml $ --subnet=172.19.0.0/24 $ 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/r $ 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>СохранитьПросмотрРазличияОтменить Сводка изменений Примечание: редактируя эту страницу, вы соглашаетесь на использование своего вклада на условиях следующей лицензии: CC0 1.0 Universal