https://github.com/vsoch/django-oci
Open Containers distribution spec module for Django (under development)
https://github.com/vsoch/django-oci
Last synced: over 1 year ago
JSON representation
Open Containers distribution spec module for Django (under development)
- Host: GitHub
- URL: https://github.com/vsoch/django-oci
- Owner: vsoch
- License: other
- Created: 2020-03-24T22:57:38.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-02T20:56:35.000Z (over 3 years ago)
- Last Synced: 2025-03-26T06:51:14.568Z (over 1 year ago)
- Language: Python
- Homepage: https://vsoch.github.io/django-oci/
- Size: 1.03 MB
- Stars: 16
- Watchers: 2
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# django-oci
[](https://badge.fury.io/py/django-oci)

Open Containers distribution API for Django.
This repository serves a Django app that can be used to provide an opencontainers
distribution (OCI) endpoint to push and pull containers. An [example](tests)
application is provided in `tests` that can be interacted with here.
## Quickstart
Install django-oci::
```bash
pip install django-oci
```
Add it to your `INSTALLED_APPS` along with `rest_framework`
```python
INSTALLED_APPS = (
...
'django_oci',
'rest_framework',
...
)
```
Add django-oci's URL patterns:
```python
from django_oci import urls as django_oci_urls
urlpatterns = [
...
url(r'^', include(django_oci.urls)),
...
]
```
See the [documentation](https://vsoch.github.io/django-oci/) or [getting started guide](https://vsoch.github.io/django-oci/docs/getting-started/) for more details about setup, and testing. An [example application](tests) is provided
and described in the getting started guide as well. The latest [conformance testing](https://vsoch.github.io/django-oci/conformance/) is provided as well.
## Many Thanks
* [cookiecutter-djangopackage](https://github.com/pydanny/cookiecutter-djangopackage)