mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 20:16:44 +00:00
Move to using postgresql
- Need to write a shell script to automate db install - For now: - https://gist.github.com/sirodoht/f598d14e9644e2d3909629a41e3522ad - https://www.digitalocean.com/community/tutorials/how-to-use-postgresql-with-your-django-application-on-ubuntu-14-04
This commit is contained in:
parent
425db5fd39
commit
17ecb59dbb
@ -106,8 +106,13 @@ WSGI_APPLICATION = 'InvenTree.wsgi.application'
|
|||||||
|
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
'default': {
|
'default': {
|
||||||
'ENGINE': 'django.db.backends.sqlite3',
|
'ENGINE': 'django.db.backends.postgresql',
|
||||||
'NAME': os.path.join(BASE_DIR, 'inventree_db.sqlite3'),
|
'NAME': 'inventree',
|
||||||
|
'USER': 'inventreeuser',
|
||||||
|
'PASSWORD': 'inventree',
|
||||||
|
'HOST': 'localhost',
|
||||||
|
'PORT': '',
|
||||||
|
#'NAME': os.path.join(BASE_DIR, 'inventree_db.sqlite3'),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user