https://github.com/vmassuchetto/shotwel ... web_client
Jag har kommit en bit men fastnat här när jag gör reload på websida 127.0.0.1:5000 händer följande:
Kod: Markera allt
erik@HP:~/projekt/Foto$ python3 run.py
* Serving Flask app 'run'
* Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:5000
* Running on http://192.168.1.105:5000
Press CTRL+C to quit
127.0.0.1 - - [05/Mar/2024 14:56:25] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [05/Mar/2024 14:56:25] "GET /vendor/bootstrap/dist/css/bootstrap.min.css HTTP/1.1" 404 -
127.0.0.1 - - [05/Mar/2024 14:56:25] "GET /vendor/justifiedGallery/dist/css/justifiedGallery.css HTTP/1.1" 404 -
127.0.0.1 - - [05/Mar/2024 14:56:25] "GET /vendor/swipebox/src/css/swipebox.min.css HTTP/1.1" 404 -
127.0.0.1 - - [05/Mar/2024 14:56:25] "GET /vendor/jquery/dist/jquery.min.js HTTP/1.1" 404 -
127.0.0.1 - - [05/Mar/2024 14:56:25] "GET /vendor/justifiedGallery/dist/js/jquery.justifiedGallery.js HTTP/1.1" 404 -
127.0.0.1 - - [05/Mar/2024 14:56:25] "GET /vendor/swipebox/src/js/jquery.swipebox.js HTTP/1.1" 404 -
127.0.0.1 - - [05/Mar/2024 14:56:25] "GET /vendor/justifiedGallery/dist/js/jquery.justifiedGallery.js HTTP/1.1" 404 -
127.0.0.1 - - [05/Mar/2024 14:56:25] "GET /vendor/swipebox/src/js/jquery.swipebox.js HTTP/1.1" 404 -
127.0.0.1 - - [05/Mar/2024 14:56:25] "GET /static/app.css HTTP/1.1" 304 -
127.0.0.1 - - [05/Mar/2024 14:56:25] "GET /static/app.js HTTP/1.1" 304 -
Kod: Markera allt
erik@HP:~/projekt/Foto$ ls
config.py package.json run.py static template vendor
erik@HP:~/projekt/Foto/vendor/jquery/dist$ ls
jquery.min.js
erik@HP:~/projekt/Foto/vendor/bootstrap/dist/css$ ls
bootstrap.css bootstrap-grid.css.map bootstrap.min.css ...
Har kollat stavningen gång på gång. Läst om referenser i html. Kollat kod som funger som anger referenser. m.m.
Fattar noll just nu.
Vad gör jag för fel?