Size: 510
Comment:
|
Size: 815
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 5: | Line 5: |
sudo -u haussmae tmux cd /home/haussmae/csd-ie-2.0/csd-ie-webapp |
sudo -i -u haussmae tmux echo $HOME # must be /home/haussmae cd csd-ie-2.0/csd-ie-webapp |
Line 8: | Line 10: |
Note: without the -i the $HOME will be that of the calling user, which will give problems with pip (which keeps its cache under $HOME). Problem: before tmux, the $HOME is correct now, but after calling tmux, it's the home of the calling user again, which I do not understand. |
CSD-IE
Demo
ssh filicudi sudo -i -u haussmae tmux echo $HOME # must be /home/haussmae cd csd-ie-2.0/csd-ie-webapp
Note: without the -i the $HOME will be that of the calling user, which will give problems with pip (which keeps its cache under $HOME). Problem: before tmux, the $HOME is correct now, but after calling tmux, it's the home of the calling user again, which I do not understand.
Then create three tmux windows (twice Ctrl+B+C) and run the following:
ant run
source ./venv2/bin/activate python csd_ie_api.py
source ./venv2/bin/activate python csd_ie_server.py
The demo should then be live under http://filicudi.informatik.uni-freiburg.de:6543/
The API should be live under http://filicudi.informatik.uni-freiburg.de:6543/api