Skip to content

Problems starting docs project #219

Closed Answered by wrabit
daniboygg asked this question in Q&A
Discussion options

You must be logged in to vote

@daniboygg The issue is python manage.py collectstatic runs the app, that has django_cotton listed in INSTALLED_APPS. Django cotton directory is only mapped when running the container, after build, so at build time the folder is not mapped causing the error.

I reverted because after tests of removing all images I was not getting the error. It seems I was too quick to assume it - apologies there. The rudimentary approach is to just poetry remove django-cotton at the end of the build so that when the container next runs, we are using the local version of cotton instead. When I get time today I'll line up that PR, unless you want to get to it sooner.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@wrabit
Comment options

@daniboygg
Comment options

Answer selected by daniboygg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants