KeerthiVM commited on
Commit
3034aeb
·
1 Parent(s): 08398b2

Deployment changes

Browse files
Files changed (1) hide show
  1. deploy.sh +5 -5
deploy.sh CHANGED
@@ -5,10 +5,10 @@ sudo apt update
5
  sudo apt install -y libgl1-mesa-glx
6
 
7
  cd ~/projects/
8
- if [ -d "Image_upscaling" ]; then
9
- cd Image_upscaling && git pull origin main
10
  else
11
- git clone https://github.com/harikp196/Image_upscaling.git
12
  fi
13
 
14
  cd ~/projects
@@ -16,6 +16,6 @@ python3 -m venv venv
16
  source venv/bin/activate
17
 
18
  pip install --upgrade pip
19
- pip install -r ~/projects/Image_upscaling/requirements.txt
20
 
21
- nohup python3 ~/projects/Image_upscaling/app.py > ~/projects/project1.log 2>&1 &
 
5
  sudo apt install -y libgl1-mesa-glx
6
 
7
  cd ~/projects/
8
+ if [ -d "CaseStudy2" ]; then
9
+ cd CaseStudy2 && git pull origin main
10
  else
11
+ git clone https://github.com/keerthi042000/CaseStudy2.git
12
  fi
13
 
14
  cd ~/projects
 
16
  source venv/bin/activate
17
 
18
  pip install --upgrade pip
19
+ pip install -r ~/projects/CaseStudy2/requirements.txt
20
 
21
+ nohup python3 ~/projects/CaseStudy2/app.py > ~/projects/CaseStudy2.log 2>&1 &