Dockerize and make ready to deploy Django projects
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_dockerizer-0.3.0.tar.gz.
File metadata
- Download URL: django_dockerizer-0.3.0.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
acf78e29b4995e5ad2d815ab53fca0347952064c5e1eecb0ac8eb2107610f951
|
|
| MD5 |
6c534eb135e27e99610a82cd45731440
|
|
| BLAKE2b-256 |
1eeb57b848ddae1d6ade65ef45a0331087db2242f5d42df7f130bcd007ec70b6
|
File details
Details for the file django_dockerizer-0.3.0-py3-none-any.whl.
File metadata
- Download URL: django_dockerizer-0.3.0-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
791ee9a8b017b91080fd3392591bd55ca992e6b91f949f4f4d20d15040cd1569
|
|
| MD5 |
24a9a19bcb047b0e49621ba77633e477
|
|
| BLAKE2b-256 |
57783fb5d61b38e3cefaf7136982a7a1dc8670a624a46f226201f3b71352c56c
|