Local Development
Use this page as the English entry point for local Komari development.
Typical Workflow
- Clone the backend repository.
- Clone and build the frontend theme.
- Copy the built theme assets into the backend's default theme directory.
- Run the backend server locally.
Frontend build:
bash
git clone https://github.com/komari-monitor/komari-web
cd komari-web
npm install
npm run buildBackend build:
bash
git clone https://github.com/komari-monitor/komari
cd komari
mkdir -p web/public/defaultTheme/dist
cp -r ../komari-web/dist/* web/public/defaultTheme/dist/
cp ../komari-web/komari-theme.json web/public/defaultTheme/
go run . server -l 127.0.0.1:25774For the original Chinese guide, see Local development.