# AIPOCH Open-Science — Development & Packaging AIPOCH Open-Science is an Electron application built with React, TypeScript, Prisma/SQLite, and an ACP-based agent runtime. Prerequisites for source development: - Node.js 24 (see [`.nvmrc`](../.nvmrc)) with npm - Git - Notebook execution optionally uses app-managed Python/R environments or a compatible interpreter you configure. ```bash git clone https://github.com/aipoch/open-science.git cd open-science npm install npm run dev ``` `npm install` automatically generates the Prisma client and installs Electron native dependencies. `npm run dev` builds the Electron main/preload bundles, starts the renderer, and opens the desktop app. Development data is isolated under `~/.open-science-project`. Useful commands: | Command | Purpose | | ---------------------- | ---------------------------------------- | | `npm run dev` | Start the development application | | `npm run dev:web` | Dev app + localhost web UI (127.0.0.1) | | `npm run dev:headless` | Dev backend + web UI, no Electron window | | `npm run lint` | Run ESLint | | `npm run typecheck` | Type-check main and renderer code | | `npm test` | Run the Vitest suite | | `npm run build` | Type-check and build the application | | `npm run build:web` | Build the optional localhost web UI | | `npm run build:mac` | Package macOS builds | | `npm run build:win` | Package Windows builds | | `npm run build:linux` | Package Linux builds | Packaged output is written under `dist/`. [README](../README.md)