Skip to main content

Dockerize and make ready to deploy Django projects

Project description

Downloads

django-dockerizer

A package used to dockerize and make ready Django projects to deploy.

Installation

  • Run pip install django-dockerizer

Usage

Without celery

  • Run dockerize command in project's base directory (in the same directory with manage.py file)

With celery

  • Run dockerize --celery command in project's base directory (in the same directory with manage.py file)

Requirements

  • It creates requirements.txt files in bin/dev and bin/prod folders. And all packages which installed in virtual environment(if there is an activated one) or in the system, will be written in requirements.txt files. 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

  • :star: Star this project on GitHub
  • :octocat: Follow me on GitHub
  • :blue_heart: Follow me on Twitter

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

django_dockerizer-0.3.0.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_dockerizer-0.3.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

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

Hashes for django_dockerizer-0.3.0.tar.gz
Algorithm Hash digest
SHA256 acf78e29b4995e5ad2d815ab53fca0347952064c5e1eecb0ac8eb2107610f951
MD5 6c534eb135e27e99610a82cd45731440
BLAKE2b-256 1eeb57b848ddae1d6ade65ef45a0331087db2242f5d42df7f130bcd007ec70b6

See more details on using hashes here.

File details

Details for the file django_dockerizer-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_dockerizer-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 791ee9a8b017b91080fd3392591bd55ca992e6b91f949f4f4d20d15040cd1569
MD5 24a9a19bcb047b0e49621ba77633e477
BLAKE2b-256 57783fb5d61b38e3cefaf7136982a7a1dc8670a624a46f226201f3b71352c56c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page