Skip to content

Python package to dockerize and make ready Django projects to deploy.

License

Notifications You must be signed in to change notification settings

arifogluisa/django-dockerizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Python package to dockerize and make ready Django projects to deploy.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages