Bonjour
Je tente d'installer Benevalibre sur mon serveur Debian 10 Nginx
Je ne suis pas très expérimenté mais j'ai quand même déjà installé plusieurs app sans trop de problèmes, et là je bloque.
J'ai d'abord obtenu une erreur "mysqlclient 1.3.13 or newer is required; you have 0.9.3", résolue avec ces conseils :
https://stackoverflow.com/questions/55657752/django-installing-mysqlclient-error-mysqlclient-1-3-13-or-newer-is-required
Maintenant voici ce que me renvoie le "make init" (j'avoue que c'est un peu décourageant... Merci de votre aide !) :
venv/bin/python3 manage.py collectstatic --no-input --verbosity 0
Traceback (most recent call last):
File "manage.py", line 27, in <module>
execute_from_command_line(sys.argv)
File "/var/www/benevalibre/venv/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
utility.execute()
File "/var/www/benevalibre/venv/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/var/www/benevalibre/venv/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
self.execute(*args, **cmd_options)
File "/var/www/benevalibre/venv/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
output = self.handle(*args, **options)
File "/var/www/benevalibre/venv/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 188, in handle
collected = self.collect()
File "/var/www/benevalibre/venv/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 105, in collect
for path, storage in finder.list(self.ignore_patterns):
File "/var/www/benevalibre/venv/lib/python3.7/site-packages/django/contrib/staticfiles/finders.py", line 131, in list
for path in utils.get_files(storage, ignore_patterns):
File "/var/www/benevalibre/venv/lib/python3.7/site-packages/django/contrib/staticfiles/utils.py", line 23, in get_files
directories, files = storage.listdir(location)
File "/var/www/benevalibre/venv/lib/python3.7/site-packages/django/core/files/storage.py", line 315, in listdir
for entry in os.scandir(path):
FileNotFoundError: [Errno 2] No such file or directory: '/var/www/benevalibre/benevalibre/static'
make: *** [Makefile:118: static] Error 1```