chibicitiberiu / ytsm

Self-hosted tool which manages your YouTube subscriptions, and downloads files automatically.
MIT License
316 stars 19 forks source link

Missing JS and CSS files #93

Open darth2499 opened 4 years ago

darth2499 commented 4 years ago

Hello,

I am running YTSM on an Unraid Docker. I understand you need to map some sort of static folder to get the JS and CSS to download properly, but the documentation is not very clear so I am having trouble trying to get this project running.

Currently, when I go to the website it looks like this. broken css

In the log you can clearly see the missing files. log

How would I go to properly map the folder so I can let these static files download? unraid

Thank you!

DrDevinRX commented 4 years ago

I also attempted to put symlinks to /static wherever I though the docker container was serving the app. Here is a screenshot of where I put static symlinks.

symlinks

chibicitiberiu commented 4 years ago

This is due to how django works. There are basically 2 options:

Because this is a recurring issue, I will fix the docker image so it includes a web server like nginx.

darth2499 commented 4 years ago

Thanks for the reply,

I have been running django in debug mode by setting the variable to True in the config.ini. This doesn't seem to make any difference. I am looking forward to the docker image with the Nginx web server and will let you know if that solves the issue.