Skip to main content

A Django app to manage DevOps.

Project description

django-DevOps

Code Quality Script Check   CodeQL

Table of Contents

What is django-DevOps?

The goal of this repository is to provide a set of programmatic tools to help you build and deploy your Django projects. This is done by defining best practices for the following:

  • Service and Config file management
  • Auto deploy from GIT
  • Guided feature implementation

No more returning to the same Stackoverflow pages every time you start a new project just to remind yourself what directory config files should be placed in. All files can now be managed from a project level and quickly deployed/updated.

Getting Started

To install the package, run the following command:

pip install django-DevOps

Then add django_devoop to your INSTALLED_APPS list in your settings.py file.

INSTALLED_APPS = [
    ...
    'django_devops',
    ...
]

For additional pip information visit: https://pypi.org/project/django-DevOps/

Configuration Files

Under your project folder create a config_files and service_files folder to place files to be deployed.

A config file with the same name as the project will be treated as the NGINX config file and copied to site-available.

Manage Commands

Command Description
devops Guided project review. (Recommended)
do_guide_account Walks through the guide for user account management.
prep_gunicorn Prepares the gunicorn config file for use with gunicorn.
prep_celery Prepares the celery config file for use with celery.
prep_nginx Prepares the nginx config file for use with nginx.
update_services Similar to "collectstatic", this command will deploy config and service files from the project folder.

Directory Structure

.
├── .github             # CI/CD using GitHub Actions and other functions.
└── django_devops       # Main package directory.

License

This project is licensed under the terms of the MIT license.

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_devops-0.2.15.tar.gz (11.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_devops-0.2.15-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file django_devops-0.2.15.tar.gz.

File metadata

  • Download URL: django_devops-0.2.15.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for django_devops-0.2.15.tar.gz
Algorithm Hash digest
SHA256 2f0da2c4e1a90a7011f09ffefad491da636bd1e1ae2a671ed9da5c01b6fd66a9
MD5 6fed3a34ab99a1b354c7725ba1f6ca7c
BLAKE2b-256 da78e9e4885b0159d2bd984f543d497638bc51378ef5032b567254cc97e9c29c

See more details on using hashes here.

File details

Details for the file django_devops-0.2.15-py3-none-any.whl.

File metadata

  • Download URL: django_devops-0.2.15-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for django_devops-0.2.15-py3-none-any.whl
Algorithm Hash digest
SHA256 f5dbf80be5ed091a666b8ddfd1f953f96b18c5542b4336e4baef4d7b135ba8eb
MD5 6e16b68330631a0fd5fa1243dfc879d5
BLAKE2b-256 ea21c4a014aae6793787a1509ec3c13f131659b55c9de0cc77a719232d3d02b0

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