- Enhanced install.py with Docker detection and automatic service setup - Added docker-compose.services.yml for standalone database services - Created docker-services.sh management script for easy service control - Added DOCKER.md documentation with complete setup instructions - Updated requirements.txt for Python 3.13 compatibility - Added multiple test scripts and configuration files - Enhanced collaborative creative projects with proper database integration - Fixed SQLAlchemy metadata field conflicts in database models - Added comprehensive quickstart and testing guides Services now available: - PostgreSQL with Docker - Redis with Docker - ChromaDB vector database - Qdrant vector database (recommended) - PgAdmin for database administration The setup script now automatically detects Docker and offers streamlined installation with one-command service deployment.
53 lines
1.5 KiB
Python
53 lines
1.5 KiB
Python
#!/usr/bin/env python3
|
|
"""
|
|
Discord Fishbowl Launcher - Just fucking run it
|
|
"""
|
|
|
|
import os
|
|
import sys
|
|
import asyncio
|
|
from pathlib import Path
|
|
|
|
# Setup
|
|
os.environ.update({
|
|
'DATABASE_URL': 'sqlite+aiosqlite:///fishbowl.db',
|
|
'DATABASE_PASSWORD': 'placeholder',
|
|
'DISCORD_TOKEN': 'YOUR_REAL_DISCORD_TOKEN_HERE',
|
|
'DISCORD_GUILD_ID': 'YOUR_GUILD_ID_HERE',
|
|
'DISCORD_CHANNEL_ID': 'YOUR_CHANNEL_ID_HERE',
|
|
'ENVIRONMENT': 'production',
|
|
'LOG_LEVEL': 'INFO'
|
|
})
|
|
|
|
sys.path.insert(0, str(Path(__file__).parent))
|
|
|
|
async def launch_fishbowl():
|
|
"""Launch the full Discord Fishbowl system"""
|
|
print("🐠 LAUNCHING DISCORD FISHBOWL")
|
|
print("=" * 40)
|
|
|
|
try:
|
|
# Import main system
|
|
from src.main import DiscordFishbowl
|
|
|
|
# Create and run
|
|
fishbowl = DiscordFishbowl()
|
|
await fishbowl.run()
|
|
|
|
except ImportError as e:
|
|
print(f"❌ Import failed: {e}")
|
|
print("\n🔧 QUICK SETUP:")
|
|
print("1. Update DISCORD_TOKEN in this file")
|
|
print("2. Update DISCORD_GUILD_ID in this file")
|
|
print("3. Update DISCORD_CHANNEL_ID in this file")
|
|
print("4. Install Ollama: https://ollama.ai/")
|
|
print("5. Run: ollama pull llama2")
|
|
print("6. Run this script again")
|
|
|
|
except Exception as e:
|
|
print(f"❌ Launch failed: {e}")
|
|
print("\nCheck Discord tokens and Ollama installation")
|
|
|
|
if __name__ == "__main__":
|
|
print("🚀 To run: Update Discord tokens in this file, then python launch.py")
|
|
asyncio.run(launch_fishbowl()) |