Skip to content

Commit

Permalink
Use conda forge to setup data-loader
Browse files Browse the repository at this point in the history
  • Loading branch information
antarcticrainforest committed Feb 26, 2025
1 parent 1ab0e49 commit c26bd55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions freva-data-portal-worker/data-loader
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ if [ ! -f ${MAMBA_DIR}/bin/data-loader-worker ]; then
rm -fr $TEMP_DIR
fi

if ([ ! -f "~/.data-portal-cluster-config.json" ] && [ "x$IS_WORKER" = x ]); then
TEMP_DIR=~ ${MAMBA_DIR}/bin/python ${MAMBA_DIR}/freva-data-portal-worker/run_server.py --gen-certs --script-dir ${MAMBA_DIR}/freva-data-portal-worker/setup
if ([ ! -f "$HOME/.data-portal-cluster-config.json" ] && [ "x$IS_WORKER" = x ]); then
TEMP_DIR=~ ${MAMBA_DIR}/bin/python ${MAMBA_DIR}//freva-data-portal-worker/setup/config/dev-utils.py redis-config $HOME/.data-portal-cluster-config.json
fi

export PATH=${MAMBA_DIR}/bin:$PATH
Expand Down

0 comments on commit c26bd55

Please sign in to comment.