Skip to content
This repository has been archived by the owner on Jan 7, 2022. It is now read-only.

Latest commit

 

History

History
21 lines (11 loc) · 616 Bytes

configuration.rst

File metadata and controls

21 lines (11 loc) · 616 Bytes

Setup

  • First, create an YAML file similar to sample_config.yaml and fill the configuration details.
  • Next, create a file named fabfile.py in your project directory and import all functions(fab commands/tasks) from deploy_python.
  • Finally, call the setup() function with your configuration yaml file path.

Here is an example fabfile -

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