ozcanyarimdunya / django_minio_demo

Django minio storage demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Django Mini Storage Demo

django-minio-storage enables using minio as django static and media file storages.

We are using minio for storing media files only.

In-Local-Development In-Production
statics Saved in django files and served by django Saved in django files and served by WhiteNoise
medias Saved in django files and served by django Saved in minio and served by minio(not finished)

Quick look

config/base.py
config/production.py

Installation

You need to run at least 4 minio instances.

docker-compose -f docker-compose-minio.yml -f docker-compose.yml up -d --build

Development

Install all requirements

make

You need a superuser to access admin pages( /admin/ ). To create a superuser,

make superuser

Run the application

make run

TODO

  • Provide direct download link

  • Provide Serve by minio as public

About

Django minio storage demo


Languages

Language:Python 69.6%Language:HTML 21.4%Language:Makefile 4.3%Language:CSS 1.5%Language:Shell 1.4%Language:Dockerfile 1.3%Language:JavaScript 0.4%