Skip to main content

Prerequisites

  • Node.js: Version 18.0.0 or higher
node --version  # Should be >= 18.0.0

Clone the repository

Clone Openinary and move into the project directory:
git clone https://github.com/openinary/openinary.git
cd openinary

Installation

Install all dependencies:
pnpm install

Start Everything

Start both the API and frontend:
pnpm dev
This will start both the API and frontend simultaneously.

Start Separately

Run the API and frontend separately:
pnpm dev:api
pnpm dev:web

Using Docker

You can also run Openinary using Docker Compose. This is useful if you want to avoid installing dependencies locally or need isolated environments.

Start Full Stack

Start both the API and frontend with Docker:
docker compose --profile full up --build

Start API Only

Start only the API service:
docker compose --profile api up --build