Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

1.3 KB
Raw Blame
{
  "worktree": {
    "setup": "mise trust\nmise install\nbun install\n\nif [ -n \"${PASEO_SOURCE_CHECKOUT_PATH:-}\" ] && [ -f \"$PASEO_SOURCE_CHECKOUT_PATH/.env\" ]; then\n  cp \"$PASEO_SOURCE_CHECKOUT_PATH/.env\" .env\nelse\n  cp .env.example .env\nfi\n\nDB_PATH=\"$PWD/homarr.sqlite\"\nZERO_KEY=\"0000000000000000000000000000000000000000000000000000000000000000\"\nsed -i.bak \\\n  -e \"s|^DB_DRIVER=.*|DB_DRIVER='better-sqlite3'|\" \\\n  -e \"s|^DB_URL=.*|DB_URL='$DB_PATH'|\" \\\n  -e \"s|^SECRET_ENCRYPTION_KEY=.*|SECRET_ENCRYPTION_KEY=$ZERO_KEY|\" \\\n  .env\nrm -f .env.bak\n\nrm -f homarr.sqlite\nbun run db:migration:sqlite:run",
    "teardown": "rm -f homarr.sqlite",
    "servicePorts": {
      "range": "3000-4000"
    }
  },
  "scripts": {
    "dev": {
      "type": "service",
      "command": "PORT=$PASEO_PORT bun run --filter @homarr/nextjs dev"
    },
    "docs": {
      "type": "service",
      "command": "bun run --filter @homarr/docs dev --port $PASEO_PORT"
    },
    "build": { "command": "bun run build" },
    "test": { "command": "bun run test" },
    "test:e2e": { "command": "bun run test:e2e" },
    "lint": { "command": "bun run lint" },
    "typecheck": { "command": "bun run typecheck" },
    "db:seed": { "command": "bun run db:seed" },
    "db:studio": { "command": "bun run db:studio" }
  }
}