Run the dashboard without Docker
Install and start the dashboard with Node.js and Yarn, in development or as a production build.
Before you start: install Node.js 20.9 or newer; 22 or 24 is recommended. No database and no .env file are needed for a first run.
Download and unzip the template as in the Docker guide, then open a terminal in the dashboard-template-1 folder.
Start the development server
Turn on Corepack
Corepack runs the Yarn version the project pins, Yarn 4.12.0. You only need to do this once per computer.
Terminalcorepack enableHaving trouble?Install the dependencies
Terminalindashboard-template-1yarn installExpected result: Yarn finishes with
Having trouble?Doneand anode_modulesfolder appears.Start it and open the dashboard
Terminalindashboard-template-1yarn devA port is already in use?
If it stops with
A port is already in useEADDRINUSE: address already in use :::3030, another program uses port 3030. Stop it, or start on another port withyarn dev -p 3041and open localhost:3041Local.Expected result: localhost:3030/
Having trouble?en/ loginLocal opens the sign-in page. It reloads by itself when you save a file.
Sign in with the account in the Docker guide. Stop the server with Ctrl+C in its terminal.
Run a production build
The development server is for editing. To check the dashboard the way your users get it, build it once, then serve the build:
dashboard-template-1yarn build
yarn startIt also answers on localhost:3030/yarn start -p 3041. Run yarn build again after every change: yarn start serves the last build as it was.
The scripts
| Script | What it does |
|---|---|
yarn dev | Development server on port 3030 |
yarn build | Production build |
yarn start | Serves the production build on port 3030 |
yarn lint | Checks the code with ESLint and the Next.js rules |
yarn type-check | Checks the TypeScript types |
Your own settings
Every setting is optional. To change one, copy .env.example to .env.local and edit it there. The values are read when the app starts in development and when it builds, so restart yarn dev, or run yarn build again, after a change.
dashboard-template-1cp .env.example .env.local