Skip to main content


Duckiter

Duckiter will Automatically dockerize your Django projects.

Requirements :

- python version : python version 3.6 or upper version
- OS : 
    - linux
    - MacOS
    - windows ( drop support )
- docker engine installed in your machine and already run through the usage of package

Installation :

clone project:

pip install duckiter

Usage :

Duckiter has two individual steps: 1- initialize Dockerfile 2- build image from created Dockerfile

To initialize Dockerfile (step 1) :

in terminal hit to your project directory ( where manage.py is in root ):

duckiter --init

This will create Dockerfile and config.cfg in the root of the project, and you can manipulate those files before Duckiter creates an image. If you are ok with our configurations, you can just pass '-build' to immediately build the image right after creating the Dockerfile.

duckiter --init -build

To build image (step 2) :

To build an image from the Dockerfile that has been created in the last step, you need enter:

duckiter main.py -build

this will look for config.cfg in project directory and then build the image.

Troubleshooting :

  • if you get blow error while your docker engine is already run :
[ WARNNING !!!! ] It seems your docker engine doesn't run, please run the Docker engine.

​ you can fix this issue , just enter these commands :

$ sudo groupadd docker
$ sudo usermod -aG docker $USER
$ newgrp docker

now problem fixed and you can run command again.

  • if you got error like :

    duckiter : command not found
    

    you can fix this issue by adding your python package directory into you PATH.

Contribution :

feel free to contribute to this project, but first contact me about the idea :)

Release files for duckiter 0.1.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for duckiter 0.1.9
File Size Uploaded
duckiter-0.1.9.tar.gz 7.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for duckiter 0.1.9
File Interpreter ABI Platform
duckiter-0.1.9-py3-none-any.whl Python 3 none any Details

Total release size: 29.7 kB

Release files / duckiter-0.1.9.tar.gz

Download URL duckiter-0.1.9.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ac0747509eced8db65a8c4db6e70930ad0dc4a6efadf69f6f6dc9ee03ce28fab
BLAKE2b-256 checksum
How to use checksums
90c743695f5ffd1907a0288dd3cd4ccb7da1eac91ef2f29794a6d220955e51c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1

Release files / duckiter-0.1.9-py3-none-any.whl

Download URL duckiter-0.1.9-py3-none-any.whl
Size 22.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dff646301ecf957917e28e5f91f8e16c9f2799674a21fc6f95e4b772f758d1ce
BLAKE2b-256 checksum
How to use checksums
cad578acedab6d70238174986224e3528ec88cc811f38c1bd2ae4893176e6231
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1

Release history Release notifications | RSS feed

This release

0.1.9 This release

2 release files

0.1.8

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page