archy/setup-env.sh
Dorian 1c024c5d64 Update archipelago: API, auth, container, parmanode, performance, security
- API handler, RPC, and server updates
- Auth and coding rules
- Container data manager, dev orchestrator, health monitor, podman client
- Parmanode script runner
- Performance resource manager
- Security container policies and secrets manager
- Add build scripts and documentation
2026-01-27 22:27:17 +00:00

26 lines
695 B
Bash
Executable File

#!/bin/bash
# Quick fix script to set up environment for backend
cd "$(dirname "$0")/core"
# Create a simple .env file for development
cat > .env << 'EOF'
# Development Environment Configuration
ARCHIPELAGO_DATA_DIR=/tmp/archipelago-dev
ARCHIPELAGO_DEV_DATA_DIR=/tmp/archipelago-dev
ARCHIPELAGO_DEV_MODE=true
ARCHIPELAGO_BIND=127.0.0.1:5959
ARCHIPELAGO_LOG_LEVEL=debug
ARCHIPELAGO_PORT_OFFSET=10000
ARCHIPELAGO_BITCOIN_SIMULATION=mock
EOF
echo "✅ Created core/.env file for development"
echo ""
echo "Environment configured:"
echo " - Data directory: /tmp/archipelago-dev"
echo " - Bind address: 127.0.0.1:5959"
echo " - Dev mode: enabled"
echo ""
echo "Now run: ./scripts/dev-start.sh"