Skip to main content

Deploy Django Project with Fabric

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

Django spanner 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 django_spanner.

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

Here is an example fabfile -

# fabfile.py
from django_spanner.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.

You can view the complete Documentation Here

Questions, Comments, etc?

We welcome your feedback and support, raise github ticket if you want to report a bug. Need new features? Contact us here

Metadata

Release files for django-spanner 0.0.4

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

Source distribution (sdist)

Source distribution for django-spanner 0.0.4
File Size Uploaded
django-spanner-0.0.4.tar.gz 6.4 kB Details

Release files / django-spanner-0.0.4.tar.gz

Download URL django-spanner-0.0.4.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
545d56c17304380727fedd8653f6782dfd58bbe7fb1578194d801a310e81a242
BLAKE2b-256 checksum
How to use checksums
7d603b53ff3813d55ff856e2a3e2306751f283144e3be23351dd0d1aa91bb40e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.4 This release

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

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