2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-28 19:46:46 +00:00

gitpod.io fixes (#3456)

- Ignore user prompt for install
- Install pyyaml
- Fix demo data installation
This commit is contained in:
Oliver 2022-08-02 12:12:46 +10:00 committed by GitHub
parent 08d93e0727
commit ce8448467a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,12 +7,13 @@ tasks:
export INVENTREE_STATIC_ROOT='/workspace/InvenTree/dev/static' export INVENTREE_STATIC_ROOT='/workspace/InvenTree/dev/static'
export PIP_USER='no' export PIP_USER='no'
sudo apt install gettext sudo apt install -y gettext
python3 -m venv venv python3 -m venv venv
source venv/bin/activate source venv/bin/activate
pip install invoke pip install invoke pyyaml
mkdir dev mkdir dev
inv setup-test invoke update
invoke setup-test --ignore-update --path inventree-data
gp sync-done start_server gp sync-done start_server
- name: Start server - name: Start server