From 6efd8cadcdea07d1062d192ec01525aacd4b479a Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Fri, 29 Oct 2021 16:20:37 +0000 Subject: [PATCH] switch execution flow --- .gitpod.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitpod.yml b/.gitpod.yml index 1547608627..a3229b9805 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,7 +1,7 @@ # List the start up tasks. Learn more https://www.gitpod.io/docs/config-start-tasks/ tasks: - name: Setup django - init: | + before: | export INVENTREE_DB_ENGINE='sqlite3' export INVENTREE_DB_NAME='/workspace/InvenTree/dev/database.sqlite3' export INVENTREE_MEDIA_ROOT='/workspace/InvenTree/inventree-data/media' @@ -21,6 +21,7 @@ tasks: gp sync-done setup_server - name: Start server + init: gp sync-await setup_server command: | gp sync-await setup_server export INVENTREE_DB_ENGINE='sqlite3'