Comments (5)
So, my mistake was not giving proper instructions to the nginx reverse proxy docker container. I fixed that by adding
location /static/ {
alias /static/;
}
to the corresponding vhost-config file and mounting a folder containing the static files to /static in that nginx proxy container.
Just a misconception on my behalf. Maybe it helps someone...
from django-survey.
No it didn't. Actually I extracted it from the container and copied it to the folder which gets mounted to the nginx-proxy container. I know, not a very clean approach, but does the job...
from django-survey.
It definitely sound like something to do with static files not accessible. Maybe not deployed properly with the command to collect them, or something to do with the server configuration not being able to access the directory. I was using apache myself, but nginx probably need some configuration too ?
By the way I never used this project inside a docker, if you can contribute the generic part of the one you did for #62 that would be much appreciated ! :)
from django-survey.
for the admin-css stuff I had to copy /usr/local/lib/python3.7/dist-packages/django/contrib/admin/static/
to that static folder mentioned above for the admin site...
from django-survey.
I owuld have thougth collectstatic
would do that for you ? (https://docs.djangoproject.com/en/3.1/ref/contrib/staticfiles/#collectstatic)
from django-survey.
Related Issues (20)
- When display_by_question is set True the last submit should be named differently HOT 1
- Interdependencies between two answers
- For a select_multiple question allow only a maximum number of answers. HOT 1
- Getting started: No module named 'survey' error HOT 2
- Error Select Image! HOT 1
- Creating survey from outside the admin site HOT 1
- New type question: Likert Scale HOT 1
- Questions with multiple short text answers HOT 1
- Select Image HOT 3
- Question without category is duplicated, if you have question with category in the same survey HOT 1
- RecursionError: maximum recursion depth exceeded while calling a Python object HOT 5
- Here a Dutch translation .po (nl) file HOT 3
- The random feature HOT 5
- How to display questions randomly ? HOT 2
- Questions groups or blocks HOT 8
- String 'None' is displayed if category description is empty HOT 1
- cannot loaddata with choices HOT 2
- Enable "select" questions with a single choice HOT 1
- amend existing survey vs new survey HOT 2
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 django-survey.