A Django app to manage DevOps.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for django_DevOps-0.2.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94d30f663c6a0b0e3a2537b300cee4547cd68bbfe2d52423a5def6a1b8280e9a |
|
MD5 | 0aa35b871accdeec06f96cb66e70116a |
|
BLAKE2b-256 | 18bede03957419f793929a28f0062fed808ea3e03c666a975cfb615d3827dee1 |