django-dockerizer
A package used to dockerize and make ready Django projects to deploy.
Installation
- Run
pip install django-dockerizer
Usage
Without celery
- Run
dockerizecommand in project's base directory (in the same directory with manage.py file)
With celery
- Run
dockerize --celerycommand in project's base directory (in the same directory with manage.py file)
Requirements
- It creates
requirements.txtfiles inbin/devandbin/prodfolders. And all packages which installed in virtual environment(if there is an activated one) or in the system, will be written inrequirements.txtfiles. Just be sure there are Django, psycopg2-binary, celery, django_celery_results, django_celery_beat in INSTALLED_APPS in settings.py
Database
- It configures docker-compose for Postgresql database, so be sure your DATABASE configuration in settings.py is okay for Postgresql database with credentials in .env file
Credits
Originally developed by Isa Arifoglu
License
Released under MIT License.
Supporting
Metadata
Release files for django-dockerizer 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django_dockerizer-0.3.0.tar.gz | 8.9 kB | Without provenance | Details for django_dockerizer-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_dockerizer-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for django_dockerizer-0.3.0-py3-none-any.whl |
Total release size: 18.2 kB
Release files / django_dockerizer-0.3.0.tar.gz
| Download URL | django_dockerizer-0.3.0.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
acf78e29b4995e5ad2d815ab53fca0347952064c5e1eecb0ac8eb2107610f951
|
|
BLAKE2b-256 checksum How to use checksums |
1eeb57b848ddae1d6ade65ef45a0331087db2242f5d42df7f130bcd007ec70b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.0
|
Release files / django_dockerizer-0.3.0-py3-none-any.whl
| Download URL | django_dockerizer-0.3.0-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
791ee9a8b017b91080fd3392591bd55ca992e6b91f949f4f4d20d15040cd1569
|
|
BLAKE2b-256 checksum How to use checksums |
57783fb5d61b38e3cefaf7136982a7a1dc8670a624a46f226201f3b71352c56c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.0
|
Security for django-dockerizer 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.