From a8d9ba29f5316c9e00d36ac93bb2f37135e9c6fe Mon Sep 17 00:00:00 2001 From: Vasilije <8619304+Vasilije1990@users.noreply.github.com> Date: Thu, 28 Dec 2023 11:26:17 +0100 Subject: [PATCH] Fix database issue --- entrypoint.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index a345bb207..300813101 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -8,12 +8,12 @@ if [ $? -ne 0 ]; then exit 1 fi -#echo "Running create_database.py" -#python cognitive_architecture/database/create_database.py -#if [ $? -ne 0 ]; then -# echo "Error: create_database.py failed" -# exit 1 -#fi +echo "Running create_database.py" +python cognitive_architecture/database/create_database.py +if [ $? -ne 0 ]; then + echo "Error: create_database.py failed" + exit 1 +fi # Start Gunicorn echo "Starting Gunicorn"