Story #4180
closedAs a user, Pulp will serve Pulp's static content natively without extra configuration
100%
Description
This was originally discussed on this mailing list thread:
https://www.redhat.com/archives/pulp-dev/2018-October/msg00034.html
Problem¶
Users have to deploy a webserver and configure it if they want to deploy Pulp with any static media. This is a barrier to usage.
Solution¶
Adopt "whitenoise" as a dependency and have Pulp auto-configured to collect and serve static media with it. The static media can line in a place like: /var/lib/pulp/static/
Updated by bmbouter almost 6 years ago
- Tags Pulp 3 RC Blocker added
I think this is an RC blocker. I'm adding the tag so we can review at the next RC blocker checkin.
Updated by dkliban@redhat.com almost 6 years ago
- Description updated (diff)
- Groomed changed from No to Yes
- Sprint Candidate changed from No to Yes
Updated by dkliban@redhat.com almost 6 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to dkliban@redhat.com
Added by dkliban@redhat.com almost 6 years ago
Added by dkliban@redhat.com almost 6 years ago
Revision aa79d05c | View on GitHub
Problem: static files are not available on user installs
Solution: collect static files before releasing to PyPI
This patch adds the 'whitenoise' middleware that serves static content for Pulp. 'whitenoise' is configured to serve static content found in pulpcore/app/static directory. This means that after installing pulp, the user will need to run the 'pulp-manager collectstatic' command to get all the static content into the directory.
Updated by dkliban@redhat.com almost 6 years ago
- Status changed from ASSIGNED to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulp|aa79d05c669802e58d75f6bd3340a948ecb9cf93.
Updated by dkliban@redhat.com almost 6 years ago
- Status changed from MODIFIED to POST
Added by dkliban@redhat.com almost 6 years ago
Revision f9dfe969 | View on GitHub
Adds 'collectstatic' task to the configuration of Pulp
Added by dkliban@redhat.com almost 6 years ago
Revision f9dfe969 | View on GitHub
Adds 'collectstatic' task to the configuration of Pulp
Added by bmbouter almost 6 years ago
Revision d0af336f | View on GitHub
Whitenoise should not write to python dir
When running the whitenoise command it was writing to the python path which it should not be able to do.
Added by bmbouter almost 6 years ago
Revision d0af336f | View on GitHub
Whitenoise should not write to python dir
When running the whitenoise command it was writing to the python path which it should not be able to do.
Updated by bmbouter almost 6 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulp|d0af336f863ab9972cddd267764f8de0c6008090.
Updated by bmbouter almost 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Problem: static files are not available on user installs
Solution: collect static files before releasing to PyPI
This patch adds the 'whitenoise' middleware that serves static content for Pulp. 'whitenoise' is configured to serve static content found in pulpcore/app/static directory. This means that after installing pulp, the user will need to run the 'pulp-manager collectstatic' command to get all the static content into the directory.
closes #4180 https://pulp.plan.io/issues/4180