Skip to the article

CloselineRequirements

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

PackageApps in the downloadRuns on its own
Full StackAPI, website, CRM dashboardYes, all three together
CRM WebsiteWebsiteYes, on its built-in sample data; the contact form sends to the template's API once you connect it
CRM DashboardCRM dashboardYes, on its built-in sample data; real accounts and saved data need the template's API
Backend APIAPIYes, 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 compose command.
  • 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 enable once; each app pins Yarn 4.8.1 in its package.json and ships its yarn.lock, so yarn install installs the versions the template was tested with. Node.js 26 and newer no longer include Corepack: run npm install -g corepack first.
  • 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.

AppPort
API8000
Website3030
CRM dashboard3031

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.

ServiceWithout it
StripeEvery 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 serverInvitations, password resets, billing notices and forwarded contact messages are written to the API's log, links included.
A Cloudflare R2 bucketDeal 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 keyThe 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 serverCoding agents cannot use the CRM tools; every MCP request is refused.

Stuck on a step?

Find a fix before you start over.

Troubleshooting

Cookie Preferences

We use cookies to enhance your browsing experience, analyze site traffic, and personalize content. By clicking "Accept All", you consent to our use of cookies for analytics and personalized advertising.