ivelin commited on
Commit
0fed412
1 Parent(s): 3798862

fix: ec2 startup script

Browse files

Signed-off-by: ivelin <ivelin.eth@gmail.com>

Files changed (1) hide show
  1. start-ec2-service.sh +1 -3
start-ec2-service.sh CHANGED
@@ -1,10 +1,8 @@
1
  echo "Starting a service on a aws ec2 instance"
2
  echo "Start this script within tmux session in order to keep it running after the EC2 console closes"
3
  source activate pytorch
4
- cd ui-refexp-click/
5
  pip3 install -r requirements.txt
6
- python3 -m app
7
  echo "\n\n\n-----\n\n\n"
8
  echo "Press CTRL+B then D to detach from terminal without killing the app"
9
  echo "Then use 'tmux attach' to reconnect to the virtual terminal"
10
-
 
1
  echo "Starting a service on a aws ec2 instance"
2
  echo "Start this script within tmux session in order to keep it running after the EC2 console closes"
3
  source activate pytorch
 
4
  pip3 install -r requirements.txt
5
+ python3 -m app
6
  echo "\n\n\n-----\n\n\n"
7
  echo "Press CTRL+B then D to detach from terminal without killing the app"
8
  echo "Then use 'tmux attach' to reconnect to the virtual terminal"