mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +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 = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.sqlite3',
|
||||
'NAME': os.path.join(BASE_DIR, 'inventree_db.sqlite3'),
|
||||
'ENGINE': 'django.db.backends.postgresql',
|
||||
'NAME': 'inventree',
|
||||
'USER': 'inventreeuser',
|
||||
'PASSWORD': 'inventree',
|
||||
'HOST': 'localhost',
|
||||
'PORT': '',
|
||||
#'NAME': os.path.join(BASE_DIR, 'inventree_db.sqlite3'),
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user