refactor: update to psi-python39/2021.11 in deploy scripts

This commit is contained in:
2023-12-12 16:52:01 +01:00
parent e7246b44ba
commit abe778c49b
3 changed files with 5 additions and 8 deletions
+2 -4
View File
@@ -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
+2 -2
View File
@@ -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"
+1 -2
View File
@@ -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