-
Notifications
You must be signed in to change notification settings - Fork 0
Manual Setup
optui edited this page May 25, 2025
·
15 revisions
- Python 3.10+
- Node.js v22.15.0 or newer
- Angular v19 or newer
- cmake v3.23 or newer
- CUDA Toolkit 11.7 or newer
-
Clone the repository
git clone https://github.com/optui/ProjeCT.git cd ProjeCT
-
Copy environment template
cp backend/.env.example backend/.env
-
Create and activate a virtual environment
cd backend python3 -m venv .venv source .venv/bin/activate # Windows: .venv\Scripts\activate pip install -e .
-
Install LEAP
ProjeCT relies on LLNL's LEAP library. Check the LEAP installation guide.
git clone https://github.com/LLNL/LEAP.git cd LEAP
mv setup.py setup_torch.py mv setup_ctype.py setup.py pip install .
-
Run the backend
chmod +x scripts/run.sh scripts/run.sh
⚠️ On first run, GATE 10 datasets (~11 GB) download automatically. -
View API documentation
- Swagger UI: http://127.0.0.1:8000/docs
- ReDoc: http://127.0.0.1:8000/redoc
-
Install dependencies
cd frontend npm install
-
Run or build the frontend
-
Run:
ng serve
Navigate to http://localhost:4200/
-
Build:
npm run build:prod
Make sure your backend is running and navigate to http://127.0.0.1:8000/
-
-
Backend Development: Run
scripts/run.sh
to start the FastAPI server with auto-reload -
Frontend Development: Use
ng serve
for hot-reload development -
Production Testing: Build frontend with
npm run build:prod
and test via backend server -
API Testing: Use Swagger UI at
/docs
for interactive API testing