diff --git a/.gitpod.yml b/.gitpod.yml index 07045cec4c..cf49f4d849 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'