2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-12 10:05:39 +00:00

Change dev environment setup to use postgresql

- sqlite causes too many errors
- fix requirements file
- fixes for docker setup
- A lot of concurrency issues
- Bite the bullet, time to go!
This commit is contained in:
Oliver
2021-12-21 00:34:23 +11:00
parent 189f836e47
commit 11d3cd3c0c
7 changed files with 37 additions and 17 deletions

View File

@ -2,14 +2,13 @@
# Set DEBUG to False for a production environment!
INVENTREE_DEBUG=True
# Change verbosity level for debug output
INVENTREE_DEBUG_LEVEL=INFO
# Database linking options
INVENTREE_DB_ENGINE=sqlite3
INVENTREE_DB_NAME=/home/inventree/dev/inventree_db.sqlite3
# INVENTREE_DB_HOST=hostaddress
# INVENTREE_DB_PORT=5432
# INVENTREE_DB_USERNAME=dbuser
# INVENTREE_DB_PASSWEORD=dbpassword
# Database configuration options
# Note: The example setup is for a PostgreSQL database (change as required)
INVENTREE_DB_ENGINE=postgresql
INVENTREE_DB_NAME=inventree
INVENTREE_DB_HOST=inventree-dev-db
INVENTREE_DB_PORT=5432
INVENTREE_DB_USER=pguser
INVENTREE_DB_PASSWORD=pgpassword