mirror of
https://github.com/inventree/demo-dataset.git
synced 2025-05-01 06:56:53 +00:00
Set environment variables
This commit is contained in:
parent
55c17ed06b
commit
2aa6062e0d
7
.github/workflows/import_data.yaml
vendored
7
.github/workflows/import_data.yaml
vendored
@ -10,6 +10,11 @@ jobs:
|
|||||||
max-parallel: 4
|
max-parallel: 4
|
||||||
matrix:
|
matrix:
|
||||||
python-version: [3.7]
|
python-version: [3.7]
|
||||||
|
|
||||||
|
env:
|
||||||
|
INVENTREE_DB_ENGINE: sqlite3
|
||||||
|
INVENTREE_DB_NAME: inventree_db.sqlite3
|
||||||
|
INVENTREE_MEDIA_ROOT: /path/to/media
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
@ -20,8 +25,10 @@ jobs:
|
|||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
- name: Install InvenTree
|
- name: Install InvenTree
|
||||||
run: |
|
run: |
|
||||||
|
pwd
|
||||||
sudo apt-get install python3-dev python3-pip python3-venv python3-wheel g++
|
sudo apt-get install python3-dev python3-pip python3-venv python3-wheel g++
|
||||||
pip3 install invoke
|
pip3 install invoke
|
||||||
git clone --depth 1 https://github.com/inventree/inventree inventree
|
git clone --depth 1 https://github.com/inventree/inventree inventree
|
||||||
cd inventree
|
cd inventree
|
||||||
invoke install
|
invoke install
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user