IMPORTANT: As of January 09, 2025
This is a guide for humans. The intent is to cover pre-requisite items to smooth the PAI installation process.
Debian 13 virtual machine
- Built with standard debian-13.*.*-amd64-netinst.iso
| #!/usr/bin/env bash | |
| # PAI 3.0 Environment Variables Template — env.sh / CLAUDE_ENV_FILE Edition | |
| # Generated: 2026-02-16 | Adapted for Claude Code CLAUDE_ENV_FILE: 2026-02-20 | |
| # | |
| # SETUP INSTRUCTIONS: | |
| # 1. Copy: cp pai30-env-template.sh $HOME/.config/PAI/pai-env.sh | |
| # 2. Lock down: chmod 600 $HOME/.config/pai-env.sh | |
| # 3. Fill in: Uncomment (remove #) from lines you need and add real keys | |
| # 4. Register: export CLAUDE_ENV_FILE="$HOME/.pai-env.sh" | |
| # (add to ~/.bashrc / ~/.zshrc for persistence) |
| # PAI 3.0 Environment Variables Template | |
| # Generated: 2026-02-16 by PAI 3.0 | |
| # | |
| # IMPORTANT: Never commit .env files to version control! | |
| # | |
| # ============================================================================= | |
| # AI/ML SERVICES | |
| # ============================================================================= |
| # PAI Environment Configuration Template | |
| # Copy to .env and fill in your API keys: | |
| # cp env.template .env | |
| # | |
| # Keys are loaded by PAI tools from ~/.claude/.env | |
| # ============================================================================ | |
| # CORE AI SERVICES | |
| # ============================================================================ |
IMPORTANT: As of January 09, 2025
This is a guide for humans. The intent is to cover pre-requisite items to smooth the PAI installation process.
Debian 13 virtual machine
| #!/usr/bin/env python | |
| # Use /usr/bin/env python to support virtual environments | |
| # This script is for Python > 3.6 | |
| # -*- coding: utf-8 -*- | |
| """ | |
| Test loading mock initial alliances data into a test table with asyncpg and Postgres | |
| """ | |
| import datetime | |
| import json |
| PostgreSQL: | |
| user A (non-super-user admin account with createdb and createuser) | |
| destiny database: | |
| # main destiny database | |
| user X (job account with read/write) | |
| user Y (api account with read-only) | |
| alliance table: | |
| # Manually created reference info for "meta-clan" groupings |
| #!/usr/bin/env python | |
| """ | |
| TEST code for using destiny.plumbing | |
| """ | |
| import os | |
| import sys | |
| import requests | |
| def main(): |