Comprehensive documentation for the Aicser Platform - the next-generation AI-first business intelligence and visualization tool.
cd packages/docs
./quick-start.shcd packages/docs
npm ci
npm startThe documentation will be available at http://localhost:3005
- Getting Started - Quick start guides, first chart, demo walkthrough
- Self-Host & Enterprise - Deployment, configuration, enterprise features
- Security & Performance - Security features, compliance, optimization
- Agentic AI & Analytics - AI capabilities, natural language queries
- Charts & Visuals - Chart types, customization, ECharts integration
- Data Sources - CSV, databases, warehouses, real-time streams
- Developer - Development setup, architecture, contribution guide
- Community - Community programs, contribution guidelines
- Reference & Help - API reference, configuration, troubleshooting
- Executives - Business value, ROI, strategic insights
- Analysts - Technical capabilities, data integration, workflows
- Developers - API integration, customization, contribution
- IT Administrators - Deployment, security, maintenance
- Open Source Contributors - Development setup, contribution process
- Node.js 20+ (required for Docusaurus 3.1.1)
- npm 9+
- Python 3.8+ (for documentation generation)
Note: Docusaurus 3.1.1 requires Node.js >= 20.0. Check your version with node --version. If you have Node.js < 20, upgrade using nvm install 20 && nvm use 20.
# Install dependencies
npm ci
# Start development server
npm start
# Build for production
npm run build
# Serve built documentation
npm run serve
# Generate documentation from codebase
npm run generate-docs
# Type checking
npm run typecheck
# Clear build cache
npm run clearpackages/docs/
โโโ src/
โ โโโ docs/ # Documentation markdown files
โ โโโ css/ # Custom styles
โ โโโ pages/ # Additional pages
โโโ static/ # Static assets (images, files)
โโโ scripts/ # Build and deployment scripts
โโโ docusaurus.config.js # Docusaurus configuration
โโโ sidebars.js # Navigation structure
โโโ package.json # Dependencies and scripts
# Build and start documentation service
docker-compose -f docker-compose.docs.yml up -d
# Check status
docker-compose -f docker-compose.docs.yml ps
# View logs
docker-compose -f docker-compose.docs.yml logs -f docs# Start development environment
docker-compose -f docker-compose.docs.yml --profile dev up -d docs-dev
# Access at http://localhost:3006The documentation is configured for deployment at:
- Production: https://docs.aicser.com
- Development: http://localhost:3005
The documentation automatically deploys when you push to the main branch. The GitHub Actions workflow will:
- Build the documentation (using Node.js 20)
- Deploy to GitHub Pages
- Configure the custom domain
docs.aicser.com
Critical: Ensure GitHub Pages source is set to "GitHub Actions" (not "Deploy from a branch"):
- Go to: Repository Settings โ Pages
- Set Source to "GitHub Actions"
- Custom domain:
docs.aicser.com - Save
# Build for production
cd packages/docs
npm install
npm run build
# Deploy using Docusaurus deploy command
npm run deploy# Build and start
docker-compose -f docker-compose.docs.yml up -d --build# Documentation configuration
NODE_ENV=production
PORT=3005
BASE_URL=/
CUSTOM_DOMAIN=aicser-docs.dataticon.com
# AI service configuration
OPENAI_API_KEY=your_openai_key
AZURE_OPENAI_KEY=your_azure_key
GOOGLE_AI_KEY=your_google_key
# Database configuration
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
POSTGRES_DB=aicser_db
POSTGRES_USER=aicser_user
POSTGRES_PASSWORD=your_passwordThe documentation includes optimized NGINX configuration with:
- Security headers
- Gzip compression
- Caching strategies
- Rate limiting
- Health checks
- Documentation: http://localhost:3005/health
- Development: http://localhost:3006/health
# Check service status
docker-compose -f docker-compose.docs.yml ps
# View logs
docker-compose -f docker-compose.docs.yml logs -f docs
# Health check
curl -f http://localhost:3005/health
# Performance test
npm run serve &
curl -w "@curl-format.txt" -o /dev/null -s http://localhost:3005/- HTTPS enforcement for production
- Security headers (XSS protection, CSRF prevention)
- Rate limiting for API endpoints
- Input validation and sanitization
- Access control and authentication
- GDPR compliance with data processing agreements
- SOC 2 Type II certification
- ISO 27001 information security management
- Industry-specific compliance (HIPAA, PCI DSS)
-
Node.js Version Error
- Error: "Minimum Node.js version not met" or "Unsupported engine"
- Fix: Docusaurus 3.1.1 requires Node.js >= 20.0
node --version # Check current version nvm install 20 && nvm use 20 # Upgrade if needed
-
Build Fails with Module Not Found
- Error: "Can't resolve '@docsearch/css'"
- Fix: Dependencies may be missing. Run:
cd packages/docs rm -rf node_modules package-lock.json npm install -
Port Already in Use
- Fix: Change port in
package.jsonor kill existing process
# Use different port npx docusaurus serve --port 3006 - Fix: Change port in
-
GitHub Pages Shows 404
- Fix: Ensure GitHub Pages source is set to "GitHub Actions" (not "Deploy from a branch")
- Go to: Repository Settings โ Pages โ Source = "GitHub Actions"
-
Build Failures
- Fix: Clear cache and reinstall dependencies
npm run clear rm -rf node_modules npm install npm run build
# Check system status
docker-compose -f docker-compose.docs.yml ps
docker-compose -f docker-compose.docs.yml logs --tail=50
# Debug build process
npm run build --verbose
# Verify build output
test -f build/index.html && echo "โ
Success" || echo "โ Failed"
cat build/CNAME # Should show: docs.aicser.com
# Check file permissions
ls -la scripts/
chmod +x scripts/*.sh- Documentation: Troubleshooting Guide
- Community: GitHub Issues
- Support: support@aicser.com
- Multi-language support (internationalization)
- Interactive tutorials with embedded examples
- Video content for complex workflows
- Advanced search with AI-powered suggestions
- Mobile-optimized documentation
- AI-powered documentation generation
- Personalized content based on user role
- Integration with development workflows
- Community-driven content creation
- Global accessibility standards
- Fork the repository
- Create a feature branch
- Make your changes
- Test locally with
npm start - Submit a pull request
- Clear structure with logical flow
- Code examples for all features
- Screenshots and diagrams for complex concepts
- Regular updates to reflect platform changes
- Accessibility compliance (WCAG 2.1 AA)
- Professional tone suitable for enterprise users
- Actionable content with clear next steps
- Multiple skill levels from beginner to expert
- Real-world examples and use cases
- Consistent formatting and style
This documentation is part of the Aicser Platform and is licensed under the MIT License along with the Enterprise License.
- GitHub Issues: Report bugs and request features
- GitHub Discussions: Community Q&A
- Community Forum: Join the conversation
- Email: support@aicser.com
- Documentation: Complete documentation
- Training: Custom training programs
Ready to get started? Run ./quick-start.sh to launch the documentation locally!