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 django_spanner.
  • Finally, call the setup() function with your configuration yaml file path.

Here is an example fabfile -

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