Skip to main content

Small python package to facilitate deployment of some personal projects.

Project description

deploymentutils

This repo contains a small python package to facilitate deployment of some personal projects.

Overview

This package provides a thin layer on top of fabric to execute commands with a state like

  • current working directory
  • activated virtual environment (not yet implemented)

It also tries to simplify to deploy/maintain multiple instances of the same software but with varying fixtures, including a local instances for testing.

Motivation

The package is mainly intended to facilitate deployment tasks (eg. for django apps) by running a simple python script. Compared to configuration management tools like Ansible this approach is far less powerful and scalable. However, it might be easier to understand for developers and thus lowering the hurdle to deploy applications by them selves.

Assumed Directory Layout

The scripts marked with [*] make use of this module.

<general project dir>
│
│
├── project-src-repo/                       ← official project repo
│   ├── .git/
│   ├── deployment_utils/
│   │   ├── some_files/
│   │   ├── deploy.py      [*]              ← original deployment script  (delivered by the project)
│   │   └── ...
│   ├── django_project/
│   │   ├── settings.py
│   │   └── ...
│   ├── django_app/
│   │   ├── views.py
│   │   └── ...
│   ├── manage.py
│   └── ...
│
├── instance-specific/
│   ├── README.md
│   ├── demo
│   │   ├── .git/
│   │   ├── deploy.py
│   │   ├── project_data
│   │   └── ...
│   ├── production
│   │   ├── .git/
│   │   ├── deploy.py      [*]
│   │   ├── project_data
│   │   └── ...
│   ├── testing
│   │   ├── .git/
│   │   ├── deploy.py      [*]
│   │   ├── project_data
│   │   └── ...
│   └── ...
│
├── local_testing/               ← contents of this directory are autogenerated
│   ├── deploy.py          [*]
│   ├── <appname>_deployment          
│   └── ...
.

Status

Still under development and not comprehensively tested.

Known Issues

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

deploymentutils-0.0.3.tar.gz (6.9 kB view details)

Uploaded Source

File details

Details for the file deploymentutils-0.0.3.tar.gz.

File metadata

  • Download URL: deploymentutils-0.0.3.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for deploymentutils-0.0.3.tar.gz
Algorithm Hash digest
SHA256 22cc1ec6153854cabedd6549dad365d43dc5cb6f2cfd322006b02245b8753995
MD5 eb90ae18b11283aadd6cbbf00c8ad5b8
BLAKE2b-256 9f7e2e84139fbff3bcf8872c3763f680ca6a364fb5f021bf4e8d094712fd788e

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