Requirements
What to install before you run your Closeline package, with Docker or with Node.js and Yarn, and which services are optional.
For the Full Stack package
What each package contains
| Package | Apps in the download | Runs on its own |
|---|---|---|
| Full Stack | API, website, CRM dashboard | Yes, all three together |
| CRM Website | Website | Yes, on its built-in sample data; the contact form sends to the template's API once you connect it |
| CRM Dashboard | CRM dashboard | Yes, on its built-in sample data; real accounts and saved data need the template's API |
| Backend API | API | Yes, serving the API only |
A single-app package does not include the other apps. The website and the dashboard run on built-in sample data until you connect the template's API, and the API's code is only in the Full Stack and Backend API packages.
With Docker
- Docker Desktop on macOS or Windows, or Docker Engine with the Compose plugin on Linux. The full stack starts with one
docker composecommand. - An internet connection for the first build, which downloads the base images and the dependencies.
- Nothing else: Docker brings Node.js, and the database is a SQLite file inside a Docker volume.
With Docker
- Docker Desktop on macOS or Windows, or Docker Engine on Linux. Your app has its own
Dockerfile; Compose is not needed. - An internet connection for the first build, which downloads the base image and the dependencies.
Without Docker
- Node.js 22.22.3 or a later 22 release, Node.js 24.15 or a later 24 release, or Node.js 26 or newer, the range every app declares. The Docker images run on Node.js 24. Check yours with
node -v. - Yarn 4, through Corepack. Run
corepack enableonce; each app pins Yarn 4.8.1 in itspackage.jsonand ships itsyarn.lock, soyarn installinstalls the versions the template was tested with. Node.js 26 and newer no longer include Corepack: runnpm install -g corepackfirst. - No compiler, Python or build tools. The API's SQLite driver and password hashing ship ready binaries for Windows, macOS and Linux.
- No global packages.
Database
No database server. The API uses SQLite by default and yarn seed creates the file for you; Docker uses SQLite too. MySQL is supported as a configuration change, not a code change.
Ports
Each app listens on a fixed local port. Make sure nothing else uses them, or, with Docker, move one with SITE_PORT, ADMIN_PORT or API_PORT in a .env beside docker-compose.yml.
| App | Port |
|---|---|
| API | 8000 |
| Website | 3030 |
| CRM dashboard | 3031 |
Port
The website listens on port 3030. Its buttons open the dashboard on 3031 and its contact form calls the API on 8000, unless you build it with other addresses.
Port
The dashboard listens on port 3031 and, once you connect it, expects the API on 8000. Make sure nothing else uses them.
Port
The API listens on port 8000, and by default accepts the website from 3030 and the dashboard from 3031. Make sure nothing else uses port 8000.
An API to connect
With no API address set, your app runs on its built-in sample data. For real accounts and data it needs the template's API running and seeded, whose address you set in its .env or build arguments. The API is sold as its own package, the Backend API, and is part of the Full Stack.
Optional services
None of these is needed to run the CRM locally. Each is switched on by its settings in the API's .env; left empty, everything else works.
| Service | Without it |
|---|---|
| Stripe | Every plan is paid for in the built-in test checkout, a page of the dashboard that charges nobody, and each payment issues a PDF invoice. |
| An SMTP mail server | Invitations, password resets, billing notices and forwarded contact messages are written to the API's log, links included. |
| A Cloudflare R2 bucket | Deal files, project files, pictures and chat attachments are stored on the API's own disk (with Docker, in the data volume). |
| A Google Gemini, OpenAI or DeepSeek key | The AI assistant still answers its suggested questions from the records; a typed question asks the reader for their own key. |
| A key for the MCP server | Coding agents cannot use the CRM tools; every MCP request is refused. |