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.16.tar.gz (12.4 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.16-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_devops-0.2.16.tar.gz
  • Upload date:
  • Size: 12.4 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.16.tar.gz
Algorithm Hash digest
SHA256 27c71012c344efd3ce93ff98f34bdac615e514a2221e34b54212667d76bf58e2
MD5 b7b4ad6bfd23e527fd12feddfa718e3c
BLAKE2b-256 efe849785ac242d26ccb6e30a6b143bec5bdf21c0c31e87d8aa60691d258ccb2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_devops-0.2.16-py3-none-any.whl
  • Upload date:
  • Size: 15.0 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.16-py3-none-any.whl
Algorithm Hash digest
SHA256 a046af4be91049c6ad40d14ac8bbba3172348a28558a363f1216fbab827bfb89
MD5 bdfa6fdae31d1b8ba037c8f444138552
BLAKE2b-256 516f2c5b798fdceb95524f209d0d8ba76184631d9bc61ab1227069ec05556ab1

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