Migrated from design-system-swarm with fresh git history.
Old project history preserved in /home/overbits/apps/design-system-swarm
Core components:
- MCP Server (Python FastAPI with mcp 1.23.1)
- Claude Plugin (agents, commands, skills, strategies, hooks, core)
- DSS Backend (dss-mvp1 - token translation, Figma sync)
- Admin UI (Node.js/React)
- Server (Node.js/Express)
- Storybook integration (dss-mvp1/.storybook)
Self-contained configuration:
- All paths relative or use DSS_BASE_PATH=/home/overbits/dss
- PYTHONPATH configured for dss-mvp1 and dss-claude-plugin
- .env file with all configuration
- Claude plugin uses ${CLAUDE_PLUGIN_ROOT} for portability
Migration completed: $(date)
🤖 Clean migration with full functionality preserved
58 lines
2.2 KiB
Plaintext
58 lines
2.2 KiB
Plaintext
# DSS MVP1 Test Environment Variables
|
|
# This file contains mock/test values for running tests
|
|
# DO NOT use these values in production!
|
|
|
|
# =============================================================================
|
|
# Mock API Keys for Testing
|
|
# =============================================================================
|
|
# These are MOCK keys from tests/fixtures/api_keys.json
|
|
# They will NOT work with real APIs
|
|
|
|
# Mock Anthropic API key (for testing only)
|
|
ANTHROPIC_API_KEY=sk-ant-api03-test-mock-key-for-testing-only-do-not-use-in-production-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
|
|
# Mock Figma token (for testing only)
|
|
FIGMA_TOKEN=figd_test_mock_token_for_testing_only_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
|
|
# =============================================================================
|
|
# Test Configuration
|
|
# =============================================================================
|
|
# Use test database
|
|
DATABASE_PATH=.dss/test.db
|
|
|
|
# Disable caching in tests
|
|
FIGMA_CACHE_TTL=0
|
|
DSS_CACHE_DIR=.dss/test_cache
|
|
|
|
# Test mode
|
|
NODE_ENV=test
|
|
LOG_LEVEL=debug
|
|
|
|
# =============================================================================
|
|
# Server Configuration for Tests
|
|
# =============================================================================
|
|
PORT=3456
|
|
DSS_MCP_PORT=3457
|
|
DSS_MCP_HOST=127.0.0.1
|
|
|
|
# =============================================================================
|
|
# For Real API Testing (Optional)
|
|
# =============================================================================
|
|
# If you want to test with REAL APIs, uncomment and add your real keys:
|
|
# REAL_ANTHROPIC_API_KEY=sk-ant-api03-your-real-key-here
|
|
# REAL_FIGMA_TOKEN=your-real-figma-token-here
|
|
# REAL_FIGMA_FILE_KEY=your-real-file-key-here
|
|
|
|
# =============================================================================
|
|
# Usage Instructions
|
|
# =============================================================================
|
|
# To use this file:
|
|
# 1. Copy to .env: cp .env.test .env
|
|
# 2. Run tests: pytest tests/
|
|
# 3. Mock APIs will be used automatically
|
|
#
|
|
# To test with real APIs:
|
|
# 1. Add your real keys above (REAL_* variables)
|
|
# 2. Update test code to use real keys when REAL_* vars are set
|
|
# 3. Run tests: pytest tests/ --real-api
|