Skip to content

Latest commit

 

History

History
44 lines (39 loc) · 1.16 KB

CONTRIBUTE.md

File metadata and controls

44 lines (39 loc) · 1.16 KB

Contributing to Django Minio Backend

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!

Development Environment

Execute the following steps to prepare your development environment:

  1. Clone the library:
    git clone https://github.com/theriverman/django-minio-backend.git
    cd django-minio-backend
  2. Create a virtual environment and activate it:
    python3 -m venv .venv
    source .venv/bin/activate
  3. Install Python Dependencies:
    pip install -r requirements.txt
  4. Execute Django Migrations:
    python manage.py migrate
  5. Create Admin Account (optional):
    python manage.py createsuperuser
  6. Run the Project:
    python manage.py runserver

Testing

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.