Hello !
Je me suis décidé à commencer mettre un peu dans le cambouis concernant ZdS. J'ai essayé de déployer une instance de ZdS (branch dev.) en suivant les indication du readme et de la doc backend et frontend.
Tout s'est bien passé lors de l'installation (et au passage bravo la doc est super bien faite ), seulement la page 0.0.0.0:8000 m'affiche l'erreur [Errno 2] No such file or directory: '/home/nathanael/zds-site/dist'
.
Traceback :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | Environment: Request Method: GET Request URL: http://0.0.0.0:8000/ Django Version: 1.8.13 Python Version: 2.7.10 Installed Applications: ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sitemaps', 'django.contrib.humanize', 'easy_thumbnails', 'easy_thumbnails.optimize', 'crispy_forms', 'haystack', 'munin', 'social.apps.django_app.default', 'rest_framework', 'rest_framework_swagger', 'dry_rest_permissions', 'corsheaders', 'oauth2_provider', 'captcha', 'zds.utils', 'zds.pages', 'zds.gallery', 'zds.mp', 'zds.forum', 'zds.tutorialv2', 'zds.member', 'zds.featured', 'zds.search', 'zds.notification', 'django.contrib.admin', 'debug_toolbar') Installed Middleware: (u'debug_toolbar.middleware.DebugToolbarMiddleware', 'corsheaders.middleware.CorsMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'zds.utils.ThreadLocals', 'zds.middlewares.SetLastVisitMiddleware.SetLastVisitMiddleware', 'zds.middlewares.profile.ProfileMiddleware', 'zds.middlewares.ForceHttpsMembersMiddleware.ForceHttpsMembersMiddleware') Traceback: File "/home/nathanael/zds-site/zdsenv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response 223. response = middleware_method(request, response) File "/home/nathanael/zds-site/zdsenv/local/lib/python2.7/site-packages/debug_toolbar/middleware.py" in process_response 129. panel.generate_stats(request, response) File "/home/nathanael/zds-site/zdsenv/local/lib/python2.7/site-packages/debug_toolbar/panels/staticfiles.py" in generate_stats 127. 'staticfiles_finders': self.get_staticfiles_finders(), File "/home/nathanael/zds-site/zdsenv/local/lib/python2.7/site-packages/debug_toolbar/panels/staticfiles.py" in get_staticfiles_finders 138. for path, finder_storage in finder.list([]): File "/home/nathanael/zds-site/zdsenv/local/lib/python2.7/site-packages/django/contrib/staticfiles/finders.py" in list 112. for path in utils.get_files(storage, ignore_patterns): File "/home/nathanael/zds-site/zdsenv/local/lib/python2.7/site-packages/django/contrib/staticfiles/utils.py" in get_files 28. directories, files = storage.listdir(location) File "/home/nathanael/zds-site/zdsenv/local/lib/python2.7/site-packages/django/core/files/storage.py" in listdir 299. for entry in os.listdir(path): Exception Type: OSError at / Exception Value: [Errno 2] No such file or directory: '/home/nathanael/zds-site/dist' |
Si vous pouvez m'aider un peu… Je ne connais pas trop Django.
Merci !
+1
-0