mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-03 13:58:47 +00:00
set envs per export
This commit is contained in:
parent
40f9565a7a
commit
39cf63ed24
@ -2,6 +2,12 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Setup django and start server
|
- name: Setup django and start server
|
||||||
command: |
|
command: |
|
||||||
|
export INVENTREE_DB_ENGINE='sqlite3'
|
||||||
|
export INVENTREE_DB_NAME='/workspace/data/database.sqlite3'
|
||||||
|
export INVENTREE_MEDIA_ROOT='/workspace/data/media'
|
||||||
|
export INVENTREE_STATIC_ROOT='/workspace/data/static'
|
||||||
|
export PIP_USER='no'
|
||||||
|
|
||||||
python3 -m venv venv
|
python3 -m venv venv
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
pip install invoke
|
pip install invoke
|
||||||
|
Loading…
x
Reference in New Issue
Block a user