Skip to main content

Deploy Django Project with Fabric

Documentation Status Downloads Latest Release https://travis-ci.org/MicroPyramid/deploy-python.svg?branch=master https://coveralls.io/repos/github/MicroPyramid/deploy-python/badge.svg?branch=master https://img.shields.io/github/license/micropyramid/deploy-python.svg

Setup:

  • First, create an YAML file similar to sample_config.yaml and fill the configuration details.

  • Next, create a fabfile.py in your project directory and import all functions(fab commands/tasks) from deploy_python.

  • Finally, call setup() function with your configuration yaml file path.

Here is an example fabfile -

# fabfile.py
from deploy_python.commands import *
setup("fabconfig.yaml")

Usage:

  • To list all the fab commands:

fab -l
  • To install the requirements on your local system, you can run the command as follows

fab run_local activate_env_install_requirements
                (or)
fab activate_env_install_requirements
  • To run a command on staging/live host,

fab [run_local/run_stage/run_live] <command_name>

NOTE:

By default, all the functions will run on the local system.

Visit our Django web development page Here

Metadata

Release files for deploy-python 1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deploy-python 1.1
File Size Uploaded Provenance Actions
deploy-python-1.1.tar.gz 6.7 kB Without provenance Details for deploy-python-1.1.tar.gz

Release files / deploy-python-1.1.tar.gz

Download URL deploy-python-1.1.tar.gz
Size 6.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8680afad920534d624b7af1e8b14d5d74c7510c06439904e20dbafa6d217ef95
BLAKE2b-256 checksum
How to use checksums
cabf75282b8d1053c1f9a4d4080f00c64c9dbcd0b3981ed0172f49bcee242e8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/2.7

Security for deploy-python 1.1

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page