Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployment: Storage - how to manage media files #7

Open
4 tasks
Tracked by #6
douglasmiranda opened this issue Apr 13, 2019 · 2 comments
Open
4 tasks
Tracked by #6

Deployment: Storage - how to manage media files #7

douglasmiranda opened this issue Apr 13, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@douglasmiranda
Copy link
Owner

  • Maybe add an alternative to S3
  • Add or document Minio
  • Document options
  • Setting up a CDN
@douglasmiranda douglasmiranda added the enhancement New feature or request label Apr 13, 2019
@douglasmiranda
Copy link
Owner Author

I have worked with Minio before in other projects. I'm thinking it will be really nice to use Minio as the storage and then using something like django-minio-storage.

  • It can be used for media files and static
  • I can use the local cache feature to speed up things (like slow collectstatic)
  • Need to confirm if it works with ManifestFilesMixin

@douglasmiranda
Copy link
Owner Author

douglasmiranda commented Apr 17, 2019

I guess in the docs I'll favor django-storages because everyone knows it.

  • Execute collectstatic as a one-time job, before deploy your Django service, therefore remove/comment from entrypoint
  • (still need to check the issue with ManifestFilesMixin as I find mandatory to use so we can leverage the power of a CDN cache in front of our app)

Then mention the alternatives of using Minio or how some people do with Google Cloud Storage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant