In-Depth Installation & Development
This guide covers the detailed system requirements and manual setup instructions for developers who want to contribute to AnswerFlow or write code. If you just want to run the app as fast as possible, see the Quick Start guide instead.
System Prerequisites
To build and develop AnswerFlow locally without Docker, your machine must have the following installed:
- Node.js (v20 or higher)
- pnpm (v9 or higher) - We strictly use
pnpmworkspaces.npmoryarnwill fail to resolve the internal@answerflow/*packages. - Git
Infrastructure & Setup Options
AnswerFlow requires a database, cache, and storage to run. Choose how you want to run the environment:
Option A: Fully Dockerized
The “Batteries Included” Docker Setup
We provide a compose.yaml file that handles everything: it provisions the infrastructure (Postgres, Redis, MinIO, Mailpit), applies database migrations, and boots the Next.js application automatically.
You only need Docker Desktop installed.
Simply run:
docker compose up -dNo changes to the .env file, and no manual pnpm commands are required.