Spaces:
Configuration error
Configuration error
feat: Introduce new backend architecture with notebooks, sources, chat, and CLaRa models, alongside database schema and updated deployment scripts, while removing old frontend, deployment files, and previous backend components.
88f8604
| @echo off | |
| REM Antigravity Notebook - Startup Script (Windows) | |
| REM This script starts all services needed for Antigravity Notebook | |
| echo ====================================== | |
| echo π Antigravity Notebook - Startup | |
| echo ====================================== | |
| REM Check if .env exists | |
| if not exist .env ( | |
| echo β οΈ .env file not found. Creating from .env.example... | |
| copy .env.example .env | |
| echo β Created .env file. You may want to customize it. | |
| ) | |
| REM Start PostgreSQL | |
| echo. | |
| echo π Starting PostgreSQL... | |
| docker-compose up -d | |
| REM Wait for PostgreSQL to be ready | |
| echo β³ Waiting for PostgreSQL to be ready... | |
| timeout /t 5 /nobreak >nul | |
| REM Initialize database | |
| echo. | |
| echo π§ Initializing database... | |
| python -m backend.database | |
| REM Start backend | |
| echo. | |
| echo π₯οΈ Starting FastAPI backend... | |
| echo (API will be available at http://localhost:8000) | |
| start "Antigravity Backend" cmd /c python -m backend.main | |
| REM Wait for backend to start | |
| timeout /t 10 /nobreak >nul | |
| REM Start frontend | |
| echo. | |
| echo π¨ Starting Streamlit frontend... | |
| echo (UI will be available at http://localhost:8501) | |
| start "Antigravity Frontend" cmd /c streamlit run frontend/app_notebook.py | |
| echo. | |
| echo ====================================== | |
| echo β Antigravity Notebook is running! | |
| echo ====================================== | |
| echo. | |
| echo π Services: | |
| echo β’ Frontend UI: http://localhost:8501 | |
| echo β’ Backend API: http://localhost:8000 | |
| echo β’ API Docs: http://localhost:8000/docs | |
| echo. | |
| echo Services are running in separate windows. | |
| echo Close those windows to stop the services. | |
| echo. | |
| pause | |