Skip to content

Manual Setup

optui edited this page May 19, 2025 · 15 revisions

Prerequisities

  • Python 3.10+
  • Node.js v22.15.0 or newer
  • cmake v3.23 or newer
  • CUDA Toolkit 11.7 or newer

Backend Setup

  1. Copy environment template

    cp backend/.env.example backend/.env
  2. Create and activate a virtual environment

    cd backend
    python3 -m venv .venv
    source .venv/bin/activate    # Windows: .venv\\Scripts\\activate
    pip install -e .
  3. Install LEAP

    ProjeCT relies on LLNL’s LEAP library. Follow the LEAP installation guide to install and build prerequisites.

    git clone https://github.com/LLNL/LEAP.git
    cd LEAP
    mv setup.py setup_torch.py
    mv setup_ctype.py setup.py
    pip install .
  4. Run the backend

    chmod +x scripts/run.sh
    scripts/run.sh

    On first run, GATE 10 datasets (~11 GB) download automatically.

  5. View API documentation

Frontend Setup

  1. Install dependencies

    cd frontend
    npm install
  2. Build the application

    ng serve
  3. Open in browser

    Navigate to http://localhost:4200

Clone this wiki locally