Comprehensive documentation for Dashpub - A modern Splunk dashboard publishing system
Complete guide for developers working on Dashpub.
# Clone the repository
git clone <repository-url>
cd dashpub-v2-testing
# Install dependencies
npm install
# Start development servers
cd app
npm run dev:full
dashpub-v2-testing/
├── cli/ # CLI tool for initialization
├── template/ # Template files (copied to app/)
├── app/ # Generated application
├── docs/ # Documentation
└── docker/ # Docker configuration
template/ directorynpm run dev:fullnpm test# Start Vite dev server
npm run dev
# Build for production
npm run build
# Preview production build
npm run preview
# Start Express server
npm run server
# Run with nodemon (auto-reload)
npx nodemon server.js
# Start both servers
npm run dev:full
PascalCase.jsxcamelCase.jsUPPER_SNAKE_CASE.js# Unit tests
npm run test
# E2E tests
npm run test:e2e
# With coverage
npm run test:coverage
tests/
├── dashboard.spec.ts # Dashboard E2E tests
└── smoke.spec.ts # Smoke tests
DEBUG=* npm run dev:full
# View server logs
tail -f logs/app.log
# Check cache stats
curl http://localhost:3000/api/cache/stats