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
File details
Details for the file django-DevOps-0.2.10.tar.gz
.
File metadata
- Download URL: django-DevOps-0.2.10.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84aa3c70f64c4ceecf83cb06a8ace5d56f37212a93c124d7fb754aa4e36f78b7 |
|
MD5 | c6530de92b393a1b6f141c2bc6deacbf |
|
BLAKE2b-256 | 076827c430e6583372da64a1647eaca0bdf802d9a6099e455779db77ea87e1cd |
File details
Details for the file django_DevOps-0.2.10-py3-none-any.whl
.
File metadata
- Download URL: django_DevOps-0.2.10-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99db5fb1c147d1baa062dda8a72c439f2738451edb411293a24afdae875b1620 |
|
MD5 | a55ca80982edae110c2ec1fdf0a5cfd1 |
|
BLAKE2b-256 | 586b00a754b719e5f46612e6a6a9eb1fd7ec8d89e9a5e0835888032262fdd5ee |