Comments (4)
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.
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.
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.
Thnx
from docker-taiga.
Related Issues (10)
- default admin password HOT 3
- LDAP Support HOT 1
- Deprecation notice on dockerhub? HOT 1
- Upgrade to Python 3.8
- Can't login to a newly built container. HOT 9
- Project Details - Images not showing up HOT 16
- username and login HOT 1
- Permission denied [core/socket.c line 230] HOT 6
- Oops somethin happened! You're changes weren't saved. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-taiga.