2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-10 17:20:32 +00:00

switch execution flow

This commit is contained in:
2021-10-29 16:20:37 +00:00
parent 62ffffea9b
commit 6efd8cadcd

@ -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'