diff --git a/bin/setup_bec.sh b/bin/setup_bec.sh index 66bbb89..acec301 100755 --- a/bin/setup_bec.sh +++ b/bin/setup_bec.sh @@ -4,7 +4,7 @@ if [ "pc15543.psi.ch" != "$(hostname)" ]; then exit 1 fi -module add psi-python38/2020.11 +module add psi-python39/2021.11 echo module add tmux/3.2 >> ~/.bashrc echo module add redis/7.0.12 >> ~/.bashrc @@ -35,7 +35,7 @@ read -p "Do you want to set the current BEC account to $(whoami)? (yes/no) " yn val=$(whoami) -case $yn in +case $yn in yes ) echo ok, setting account to $val; redis-cli SET internal/account:val $val;; no ) echo ;; @@ -45,5 +45,3 @@ esac $(pwd)/open_tunnel.sh - - diff --git a/bin/setup_bec_widgets.sh b/bin/setup_bec_widgets.sh index 35016f5..719073e 100755 --- a/bin/setup_bec_widgets.sh +++ b/bin/setup_bec_widgets.sh @@ -1,4 +1,4 @@ -module add psi-python38/2020.11 +module add psi-python39/2021.11 cd ~/Data10/software python -m venv ./bec_widgets_venv @@ -13,4 +13,4 @@ pip install -e . cd ~/Data10/software/bec-widgets pip install -e . -echo "For the moment widgets only run on beamline consoles comp1/2 and cons1" +echo "For the moment widgets only run on beamline consoles comp1/2 and cons1" diff --git a/deployment/deploy.sh b/deployment/deploy.sh index 6591502..e14dbca 100755 --- a/deployment/deploy.sh +++ b/deployment/deploy.sh @@ -4,7 +4,7 @@ # BEAMLINE_REPO=gitlab.psi.ch:bec/csaxs-bec.git # git clone git@$BEAMLINE_REPO -module add psi-python38/2020.11 +module add psi-python39/2021.11 # start redis docker run --network=host --name redis-bec -d redis @@ -25,4 +25,3 @@ source ./bin/install_bec_dev.sh cd ../ # start the BEC server bec-server start --config ./csaxs-bec/deployment/bec-server-config.yaml -