Code Monkey home page Code Monkey logo

Comments (4)

lubo avatar lubo commented on June 8, 2024

Hi. Setting STATIC_ROOT isn't necessary as it's already set in /opt/taiga-back/settings/local.py. Also, collectstatic is being run as part of run-server command. No, from the nature of these files, it shouldn't be run in Dockerfile and you just need to restart your container if the static files need to be recollected. It sounds like there's something wrong with your configuration, but I can't help you with the information you've provided. Therefore, I'm closing the issue, but I'll reopen it if you prove there's actually something wrong with the image. If you provide more information, I might be able to help you.

from docker-taiga.

jwaes avatar jwaes commented on June 8, 2024

Thanks for you swift reply.

I had a look at the local.py you referenced and found the solution to my issue

I added

MEDIA_URL = "media/"
STATIC_URL = "/static/"

to my settings.py

local.py file has absolute path http://localhost:8080/static/ hardcoded

from docker-taiga.

lubo avatar lubo commented on June 8, 2024

If you take a look at /etc/opt/taiga-back/settings.py, there's actually a comment explaining why these should be absolute URLs.

from docker-taiga.

jwaes avatar jwaes commented on June 8, 2024

Thnx

from docker-taiga.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.