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.2.2.tar.gz (8.3 kB view hashes)

Uploaded Source

Built Distribution

django_dockerizer-0.2.2-py3-none-any.whl (9.2 kB view hashes)

Uploaded Python 3

Supported by

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