mirror of
https://github.com/YunoHost-Apps/pyinventory_ynh.git
synced 2024-09-03 20:16:09 +02:00
commit
c8927ca221
2 changed files with 2 additions and 4 deletions
5
Makefile
5
Makefile
|
@ -18,14 +18,13 @@ check-poetry:
|
|||
install-poetry: ## install or update poetry
|
||||
pip3 install -U poetry
|
||||
|
||||
install: check-poetry ## install PyInventory via poetry
|
||||
sudo apt install python3-ldap libldap2-dev libsasl2-dev
|
||||
install: check-poetry ## install project via poetry
|
||||
poetry install
|
||||
|
||||
update: install-poetry ## update the sources and installation
|
||||
poetry update
|
||||
|
||||
local-test: check-poetry ## Run local_test.py to run pyinventory_ynh locally
|
||||
local-test: check-poetry ## Run local_test.py to run the project locally
|
||||
poetry run ./local_test.py
|
||||
|
||||
local-diff-settings: ## Run "manage.py diffsettings" with local test
|
||||
|
|
|
@ -170,7 +170,6 @@ LOGGING = {
|
|||
'django': {'handlers': ['log_file', 'mail_admins'], 'level': 'INFO', 'propagate': False},
|
||||
'axes': {'handlers': ['log_file', 'mail_admins'], 'level': 'WARNING', 'propagate': False},
|
||||
'django_tools': {'handlers': ['log_file', 'mail_admins'], 'level': 'INFO', 'propagate': False},
|
||||
'django_auth_ldap': {'handlers': ['log_file', 'mail_admins'], 'level': 'DEBUG', 'propagate': False},
|
||||
'inventory': {'handlers': ['log_file', 'mail_admins'], 'level': 'INFO', 'propagate': False},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue