-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Django does not display CSS, JS, or images #70
Comments
OK, on second glance I think the site is working well enough, except for the missing CSS and JS. Perhaps those things are unneeded. When I visit http://localhost:8000/api/v1/tileset_info/?d=cooler-demo I get:
|
@slowkow regarding the static assets not being served: |
When I do
Then I run |
To be honest, I have the same issue if I run the server by itself (outside of the Docker container). If you find a way to fix it, I'll gladly merge a PR. |
|
@pkerpedjiev @slowkow The CSS is apparently only loaded when you run in DEBUG mode. Not sure why this is the case but for local instances it's fine (and I stopped thinking about it until I set up a new instance and get mad again 😄) Open (Note that you have to run |
I'm trying to follow your steps to get higlass-server running. Could I ask if you have any advice to get this working correctly? I think I'm almost there, but something is missing because the assets like JS and CSS are not loading.
I installed like this:
Then I tried running:
At this point I start a tunnel from my laptop to the server:
But now the page does not load correctly in my browser on my laptop. I get this in my console when I visit http://localhost:8000/admin
I can login to the admin console and see some of the HTML, but it is missing all of the assets like CSS.
The text was updated successfully, but these errors were encountered: