From ea516728d465bf70e675622da033aa2ed94ed80d Mon Sep 17 00:00:00 2001
From: David Trattnig <david.trattnig@o94.at>
Date: Thu, 12 Mar 2020 14:24:35 +0100
Subject: [PATCH] Build web apps before starting the API.

---
 run.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/run.sh b/run.sh
index 3d56a2f..9d143fb 100755
--- a/run.sh
+++ b/run.sh
@@ -21,5 +21,8 @@ if [ $mode == "lqs" ]; then
 fi
 
 if [ $mode == "api" ]; then
+	echo "Building Web Applications"
+	sh ./script/build-web.sh
+	echo "Starting API Server"
 	/usr/bin/python3.7 api.py
 fi
\ No newline at end of file
-- 
GitLab