Это старая версия документа!
Reana
Установка
$ 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
Создание админ пользователя
$ 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
Подготовка системного окружения пользователя
# create new virtual environment $ virtualenv ~/.virtualenvs/reana $ source ~/.virtualenvs/reana/bin/activate # install reana-client $ pip install reana-client
Создание проекта
# 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
Работа с проектом
$ 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