Dockerize your django project
Project description
Duckiter
Duckiter will Automatically dockerize your Django projects.
Requirements :
- python version : python version 3.6 or upper version
- OS : linux, MacOS, windows
- 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.
Contribution :
feel free to contribute to this project, but first contact me about the idea :)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.