sschellhammer commited on
Commit
5755636
·
verified ·
1 Parent(s): 37acd08

Update start.sh

Browse files
Files changed (1) hide show
  1. start.sh +11 -6
start.sh CHANGED
@@ -4,13 +4,18 @@ set -e # exit on error
4
 
5
  echo "Starting container..."
6
 
7
- echo "Running setup_files.py..."
8
- python setup_files.py
9
 
10
- echo "Listing files:"
11
- ls -l
12
 
13
- python save_files.py &
 
 
 
 
 
14
 
15
  echo "Starting Potato server..."
16
- exec potato start config.yaml -p 7860
 
4
 
5
  echo "Starting container..."
6
 
7
+ echo "Running load_app_data.py..."
8
+ python load_app_data.py
9
 
10
+ echo "Running load_existing_annotations.py..."
11
+ python load_existing_annotations.py
12
 
13
+ #echo "Listing files:"
14
+ #ls -l
15
+
16
+ cd /app/potato
17
+ git pull
18
+ pip install /app/potato
19
 
20
  echo "Starting Potato server..."
21
+ python start.py