#!/usr/bin/env python3 """ Main entry point for the Crypto Trading Bot Dashboard. """ import sys from pathlib import Path # Add project root to path project_root = Path(__file__).parent sys.path.insert(0, str(project_root)) def main(): """Main application entry point.""" print("šŸš€ Crypto Trading Bot Dashboard") print("=" * 40) try: from config.settings import app, dashboard print(f"Environment: {app.environment}") print(f"Debug mode: {app.debug}") if app.environment == "development": print("\nšŸ”§ Running in development mode") print("To start the full application:") print("1. Run: python scripts/dev.py setup") print("2. Run: python scripts/dev.py start") print("3. Update .env with your OKX API credentials") print("4. Run: uv run python tests/test_setup.py") # TODO: Start the Dash application when ready # from app import create_app # app = create_app() # app.run(host=dashboard.host, port=dashboard.port, debug=dashboard.debug) print(f"\nšŸ“ Next: Implement Phase 1.0 - Database Infrastructure Setup") except ImportError as e: print(f"āŒ Failed to import modules: {e}") print("Run: uv sync") sys.exit(1) if __name__ == "__main__": main()