diff --git a/start_backend.sh b/start_backend.sh index c8b3489c351fff8a045d7348d642df681bbaa095..1b745b394fee9b5993593f96a815ad8e4d7d992a 100755 --- a/start_backend.sh +++ b/start_backend.sh @@ -1,11 +1,11 @@ #!/bin/sh -tmux -python rl_hm/web_app/app.py & +ssh-add $HOME/.ssh/rsa_server -python -m http.server 8000 --directory rl_hm/web_app/static & +ssh -N -L 9999:localhost:9999 \ + -J galepage@bastion.inrialpes.fr \ + galepage@alya.inrialpes.fr & +sleep 5 -trap 'echo signal received!; kill $(jobs -p); wait;' SIGINT SIGTERM - -wait +PYTHONPATH=. python rl_hm/backend/main.py