Files
thrillwiki_django_no_react/shared/scripts/unraid/example-non-interactive.sh
pacnpal d504d41de2 feat: complete monorepo structure with frontend and shared resources
- Add complete backend/ directory with full Django application
- Add frontend/ directory with Vite + TypeScript setup ready for Next.js
- Add comprehensive shared/ directory with:
  - Complete documentation and memory-bank archives
  - Media files and avatars (letters, park/ride images)
  - Deployment scripts and automation tools
  - Shared types and utilities
- Add architecture/ directory with migration guides
- Configure pnpm workspace for monorepo development
- Update .gitignore to exclude .django_tailwind_cli/ build artifacts
- Preserve all historical documentation in shared/docs/memory-bank/
- Set up proper structure for full-stack development with shared resources
2025-08-23 18:40:07 -04:00

40 lines
1.2 KiB
Bash
Executable File

#!/bin/bash
# Example: How to use non-interactive mode for ThrillWiki setup
#
# This script shows how to set up environment variables for non-interactive mode
# and run the automation without any user prompts.
echo "🤖 ThrillWiki Non-Interactive Setup Example"
echo "[AWS-SECRET-REMOVED]=="
# Set required environment variables for non-interactive mode
# These replace the interactive prompts
# Unraid password (REQUIRED)
export UNRAID_PASSWORD="your_unraid_password_here"
# GitHub token (REQUIRED if using GitHub API)
export GITHUB_TOKEN="your_github_token_here"
# Webhook secret (REQUIRED if webhooks enabled)
export WEBHOOK_SECRET="your_webhook_secret_here"
echo "✅ Environment variables set"
echo "📋 Configuration summary:"
echo " - UNRAID_PASSWORD: [HIDDEN]"
echo " - GITHUB_TOKEN: [HIDDEN]"
echo " - WEBHOOK_SECRET: [HIDDEN]"
echo
echo "🚀 Starting non-interactive setup..."
echo "This will use saved configuration and the environment variables above"
echo
# Run the setup script in non-interactive mode
./setup-complete-automation.sh -y
echo
echo "✨ Non-interactive setup completed!"
echo "📝 Note: This example script should be customized with your actual credentials"