2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-15 11:35:41 +00:00

Update installation routine and docs

- Single call of "make install" does everything
- Add backup_dir option to yaml config file
This commit is contained in:
Oliver Walters
2019-08-01 20:07:06 +10:00
parent e55d59ebf1
commit 5ee07eae7c
5 changed files with 26 additions and 10 deletions

View File

@ -231,4 +231,6 @@ IMPORT_EXPORT_USE_TRANSACTIONS = True
# Settings for dbbsettings app
DBBACKUP_STORAGE = 'django.core.files.storage.FileSystemStorage'
DBBACKUP_STORAGE_OPTIONS = {'location': tempfile.gettempdir()}
DBBACKUP_STORAGE_OPTIONS = {
'location': CONFIG.get('backup_dir', tempfile.gettempdir()),
}

View File

@ -43,4 +43,8 @@ media_root: './media'
static_root: './static'
# Logging options
log_queries: False
log_queries: False
# Backup options
# Set the backup_dir parameter to store backup files in a specific location
# backup_dir = "/home/me/inventree-backup/"