Powered by IRIS (Incident Resolution Intelligence System)
- Node.js (LTS)
- Python 3
- Preferrably make sure no other process is running on
http://localhost:3000andhttp://localhost:4000
- Backend (required for AI): backend/.env
AZURE_OPENAI_API_KEY=...AZURE_OPENAI_API_VERSION=...AZURE_OPENAI_ENDPOINT=...
- If these are not set up, the app will default to "dummy" data.
From the root directory, run:
npm --prefix frontend run webThis should automatically open the web locally and is ready to run!
cd frontend && npm install && npm run dev:desktop
cd frontend && npm install && npm run dist
- Open two terminal tabs at the root directory
cd frontend
npm install
npm run devAt root directory
pip install -r backend/requirements.txt
uvicorn backend.main:app --host localhost --port 4000Finally, go to the local host link given when you run npm run dev (eg: http://localhost:3000) and you can start using the app!
- After signing in, go to Email section
- Follow the steps to set up Email integration
- Troubleshooting: for app password, ensure that your gmail has 2FA set up
- Turn Auto poll - ON if you want automatic updates
- Frontend (optional): frontend/.env.local
NEXT_PUBLIC_BACKEND_URL=http://localhost:4000
- Desktop App (not web browser) flags (set at launch; do NOT put these in .env files)
ENABLE_BACKEND_AUTOSTART=true|false(default true)ENABLE_BACKEND_AUTOINSTALL=true|false(default true)PYTHON=/path/to/python3- Examples (set flags on the command you run):
- macOS/Linux (dev):
# Disable autostart ENABLE_BACKEND_AUTOSTART=false npm run dev:desktop # Custom backend URL NEXT_PUBLIC_BACKEND_URL=http://127.0.0.1:4010 npm run dev:desktop # Force Python path PYTHON=/usr/local/bin/python3 npm run dev:desktop # Combine flags NEXT_PUBLIC_BACKEND_URL=http://127.0.0.1:4010 ENABLE_BACKEND_AUTOSTART=false PYTHON=/usr/local/bin/python3 npm run dev:desktop
- Windows PowerShell (dev):
$env:ENABLE_BACKEND_AUTOSTART = "false"; npm run dev:desktop $env:NEXT_PUBLIC_BACKEND_URL = "http://127.0.0.1:4010"; npm run dev:desktop $env:PYTHON = "C:\\Python311\\python.exe"; npm run dev:desktop
- Packaged app:
- macOS:
NEXT_PUBLIC_BACKEND_URL=http://127.0.0.1:4010 ./dist/mac/IRIS.app/Contents/MacOS/IRIS
- Windows (PowerShell):
$env:NEXT_PUBLIC_BACKEND_URL = "http://127.0.0.1:4010"; & "C:\\Path\\To\\IRIS.exe"
- Linux:
NEXT_PUBLIC_BACKEND_URL=http://127.0.0.1:4010 ./dist/IRIS-*.AppImage
- macOS:
- macOS/Linux (dev):