django-docker-helper


Namedjango-docker-helper JSON
Version 1.0.0.1 PyPI version JSON
download
home_pagehttps://github.com/SakariaNdadi/django-docker-helper
SummaryA Django package to simplify the creation of Dockerfile and docker-compose.yml files.
upload_time2024-03-05 13:47:33
maintainer
docs_urlNone
authorSakaria Ndadi
requires_python
licenseBSD-3-Clause
keywords django docker docker-compose
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Django Docker

Django Docker is a Django package that simplifies the creation of Dockerfile and docker-compose.yml files for Django projects.

## Features

- Easily generate Dockerfile and docker-compose.yml files.
- Interactively configure Docker services.
- Seamlessly integrate Docker support into your Django projects.

### Current Services
- PostgeSQL
- MySQL
- Redis
- Rabbitmq
- Nginx

## Requirements
- Docker

## Installation

1. You can install Django Docker using pip:

```bash
pip install django-docker-helper
```

2. Add "django_docker_helper" to your installed apps

### Creating a Dockerfile

```bash
python manage.py docker_file generate
```

### Building the Dockerfile image

```bash
python manage.py docker_file build
```

### Creating a docker-compose.yml file

```bash
python manage.py docker_compose generate
```

### Building the docker-compose.yml image

```bash
python manage.py docker_compose up
```

or

```bash
python manage.py docker_compose up --build
```

to build Docker images before starting containers.

### Stopping and removing resources

```bash
python manage.py docker_compose down
```

or

```bash
python manage.py docker_compose down --remove-orphans
```

remove containers for services not defined in the Compose file


# Documentation and addition of more services underway.... 

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/SakariaNdadi/django-docker-helper",
    "name": "django-docker-helper",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "django docker docker-compose",
    "author": "Sakaria Ndadi",
    "author_email": "oipapi.ndadi@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/ae/98/54b0fb2a68fcb78baf0641c3d3c21ad589d3f0e31820aa0674ff55d28a85/django-docker-helper-1.0.0.1.tar.gz",
    "platform": null,
    "description": "# Django Docker\n\nDjango Docker is a Django package that simplifies the creation of Dockerfile and docker-compose.yml files for Django projects.\n\n## Features\n\n- Easily generate Dockerfile and docker-compose.yml files.\n- Interactively configure Docker services.\n- Seamlessly integrate Docker support into your Django projects.\n\n### Current Services\n- PostgeSQL\n- MySQL\n- Redis\n- Rabbitmq\n- Nginx\n\n## Requirements\n- Docker\n\n## Installation\n\n1. You can install Django Docker using pip:\n\n```bash\npip install django-docker-helper\n```\n\n2. Add \"django_docker_helper\" to your installed apps\n\n### Creating a Dockerfile\n\n```bash\npython manage.py docker_file generate\n```\n\n### Building the Dockerfile image\n\n```bash\npython manage.py docker_file build\n```\n\n### Creating a docker-compose.yml file\n\n```bash\npython manage.py docker_compose generate\n```\n\n### Building the docker-compose.yml image\n\n```bash\npython manage.py docker_compose up\n```\n\nor\n\n```bash\npython manage.py docker_compose up --build\n```\n\nto build Docker images before starting containers.\n\n### Stopping and removing resources\n\n```bash\npython manage.py docker_compose down\n```\n\nor\n\n```bash\npython manage.py docker_compose down --remove-orphans\n```\n\nremove containers for services not defined in the Compose file\n\n\n# Documentation and addition of more services underway.... \n",
    "bugtrack_url": null,
    "license": "BSD-3-Clause",
    "summary": "A Django package to simplify the creation of Dockerfile and docker-compose.yml files.",
    "version": "1.0.0.1",
    "project_urls": {
        "Homepage": "https://github.com/SakariaNdadi/django-docker-helper"
    },
    "split_keywords": [
        "django",
        "docker",
        "docker-compose"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "11fe11603828b7d2c4139e0bbc4ddf73402027fdd7515e928b98ac22a06f74b8",
                "md5": "742db0af965380d673ba2bc7dd41054f",
                "sha256": "fe462e0578c073013d9fcb799c53474fd97130c2f5099338ad3c6e6f855282eb"
            },
            "downloads": -1,
            "filename": "django_docker_helper-1.0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "742db0af965380d673ba2bc7dd41054f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 8514,
            "upload_time": "2024-03-05T13:47:32",
            "upload_time_iso_8601": "2024-03-05T13:47:32.127912Z",
            "url": "https://files.pythonhosted.org/packages/11/fe/11603828b7d2c4139e0bbc4ddf73402027fdd7515e928b98ac22a06f74b8/django_docker_helper-1.0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ae9854b0fb2a68fcb78baf0641c3d3c21ad589d3f0e31820aa0674ff55d28a85",
                "md5": "f18dfa061acadd60414ab85134128ee4",
                "sha256": "e42b3a6b39503e0e0c0b9cb5ae4124f40b6622400bb8b30c2e651ee301e9aad2"
            },
            "downloads": -1,
            "filename": "django-docker-helper-1.0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "f18dfa061acadd60414ab85134128ee4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 7377,
            "upload_time": "2024-03-05T13:47:33",
            "upload_time_iso_8601": "2024-03-05T13:47:33.377701Z",
            "url": "https://files.pythonhosted.org/packages/ae/98/54b0fb2a68fcb78baf0641c3d3c21ad589d3f0e31820aa0674ff55d28a85/django-docker-helper-1.0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-05 13:47:33",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "SakariaNdadi",
    "github_project": "django-docker-helper",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "django-docker-helper"
}
        
Elapsed time: 0.21660s