You can find a reference implementation of a Django app using django-minio-backend as a storage backend in DjangoExampleApplication/models.py.
When you're finished with your changes, please open a pull request!
Execute the following steps to prepare your development environment:
- Clone the library:
git clone https://github.com/theriverman/django-minio-backend.git cd django-minio-backend
- Create a virtual environment and activate it:
python3 -m venv .venv source .venv/bin/activate
- Install Python Dependencies:
pip install -r requirements.txt
- Execute Django Migrations:
python manage.py migrate
- Create Admin Account (optional):
python manage.py createsuperuser
- Run the Project:
python manage.py runserver
You can run tests by executing the following command (in the repository root):
python manage.py test
Note: Tests are quite poor at the moment.