Table of Contents
- Table of Contents
- What is django-DevOps?
- Getting Started
- Manage Commands
- Directory Structure
- License
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.
Metadata
Release files for django-devops 0.2.16
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| django_devops-0.2.16.tar.gz | 12.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_devops-0.2.16-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.4 kB
Release files / django_devops-0.2.16.tar.gz
| Download URL | django_devops-0.2.16.tar.gz |
|---|---|
| Size | 12.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27c71012c344efd3ce93ff98f34bdac615e514a2221e34b54212667d76bf58e2
|
|
BLAKE2b-256 checksum How to use checksums |
efe849785ac242d26ccb6e30a6b143bec5bdf21c0c31e87d8aa60691d258ccb2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Release files / django_devops-0.2.16-py3-none-any.whl
| Download URL | django_devops-0.2.16-py3-none-any.whl |
|---|---|
| Size | 15.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a046af4be91049c6ad40d14ac8bbba3172348a28558a363f1216fbab827bfb89
|
|
BLAKE2b-256 checksum How to use checksums |
516f2c5b798fdceb95524f209d0d8ba76184631d9bc61ab1227069ec05556ab1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Security for django-devops 0.2.16
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.