ui-refexp-click / start-ec2-service.sh
ivelin's picture
build: add ec2 service startup script
d9c5c91
raw
history blame
411 Bytes
echo "Starting a service on a aws ec2 instance"
echo "Start this script within tmux session in order to keep it running after the EC2 console closes"
source activate pytorch
cd ui-refexp-click/
pip3 install -r requirements.txt
python3 -m app
echo "\n\n\n-----\n\n\n"
echo "Press CTRL+B then D to detach from terminal without killing the app"
echo "Then use 'tmux attach' to reconnect to the virtual terminal"