Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 1.3 KB

File metadata and controls

51 lines (33 loc) · 1.3 KB

Optional Setup Guide

This guide covers optional setup steps and configurations for the AI-Native Python template.

← Back to Documentation Index

Grant Installation (License Compliance)

If you'd like to support license file checking locally, you will need to install grant and put it in your PATH. See their installation guide for more details

SSH Configuration for Cookiecutter

If you prefer to use SSH instead of HTTPS for cloning the template, you can use the SSH URL.

Prerequisites

  1. SSH key configured with GitHub:

    # Check for existing SSH keys
    ls -la ~/.ssh
    
    # Generate new SSH key if needed
    ssh-keygen -t ed25519 -C "your_email@example.com"
  2. Add SSH key to GitHub:

    # Copy public key
    cat ~/.ssh/id_ed25519.pub
    # Add to GitHub: Settings -> SSH and GPG keys
  3. Test SSH connection:

    ssh -T git@github.com

Using SSH with Cookiecutter

# Use SSH URL instead of HTTPS
uvx --with gitpython cookiecutter git+ssh://git@github.com/zenable-io/ai-native-python.git

Environment Variable Configuration

Set environment variables before running cookiecutter to modify hook behavior (see the Hooks Guide).