PeraltaCC FAQ & Troubleshooting
PeraltaCC FAQ & Troubleshooting
Common questions about PeraltaCC installation, usage, and development.
General Questions
What is PeraltaCC?
PeraltaCC is a comprehensive platform for managing Peralta Community College redistricting initiatives and ERP automation, built with Claude Flow v3 for functional alignment across the district.
What does PeraltaCC do?
PeraltaCC provides:
- Redistricting tools for district boundary planning
- ERP automation for business process workflows
- Proposal management for bid and deliverable tracking
- GitBook integration for professional documentation
- Quality gates and governance enforcement
Is PeraltaCC open source?
PeraltaCC is maintained by Fused Gaming on GitHub. Check the LICENSE file for usage terms and restrictions.
What are the main components?
- Redistricting Engine - Boundary planning and optimization
- ERP Automation - Workflow orchestration
- Proposal Manager - Bid and deliverable tracking
- GitBook Sync - Automated documentation
- Workflow Orchestrator - Claude Flow v3 automation
Prerequisites & Setup
Q: What tools do I need?
A: Required:
- Node.js >= 18.0.0
- npm >= 8.0.0
- Git
- Text editor or IDE
Optional:
- GitHub Desktop (for git operations)
- GitBook account (for documentation editing)
- Vercel account (for static hosting)
Q: How do I install Node.js?
macOS:
# Using Homebrewbrew install node
# Or download from nodejs.orgUbuntu/Debian:
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -sudo apt-get install -y nodejsWindows:
- Download from https://nodejs.org/
- Run the installer
- Restart your terminal
Q: I get “command not found: node”
A:
- Verify installation:
node --version - Add Node to PATH (check installation guide)
- Restart terminal/IDE
- Reinstall if needed
Q: What’s the difference between npm and Node.js?
A:
- Node.js - JavaScript runtime that executes code
- npm - Package manager that installs dependencies
- Both are needed for PeraltaCC
Installation & Setup
Q: How long does installation take?
A: About 5-10 minutes depending on internet speed and system performance.
Q: Do I need Docker to run PeraltaCC?
A: No. Docker is optional for advanced deployment scenarios. Standard npm installation works fine.
Q: Can I run PeraltaCC on Windows?
A: Yes! Windows 10+ with WSL2 is recommended for best compatibility.
Q: How much disk space does PeraltaCC need?
A: About 500MB after installation (depending on proposal artifacts).
Development & Usage
Q: How do I start development?
# 1. Clone repositorygit clone https://github.com/Fused-Gaming/PeraltaCC.gitcd PeraltaCC
# 2. Install dependenciesnpm install
# 3. Create feature branchgit checkout -b feature/my-proposal
# 4. Start developmentnpm startQ: How do I run tests?
# Run all testsnpm test
# Watch modenpm test -- --watch
# Coverage reportnpm test -- --coverageQ: What’s the difference between main and feature/gitbook?
main branch:
- Production-ready proposals
- Requires PR + approval
- Quality gates enforced
- Final deliverables
feature/gitbook:
- Documentation staging
- GitBook Git Sync target
- Allows direct editing
- Testing environment
Feature branches:
- Development work (
feature/*,fix/*) - Temporary branches
- Merged to main via PR
Q: How do I create a proposal?
- Create feature branch:
git checkout -b feature/proposal-name - Add proposal artifacts in
docs/addendum-bid/ - Update documentation in
docs/gitbook/ - Run tests:
npm test - Commit changes:
git add . && git commit -m "feat: proposal description" - Create PR:
git push -u origin feature/proposal-name - Request review
- Merge to main when approved
Q: Where do I put bid documents?
A:
docs/addendum-bid/- Addendum deliverables (Tasks 1-6)docs/gitbook/- Documentation and proposalsdocs/proposals/- Reference materials
Q: How do I generate the PDF?
A: If using GitBook:
- Go to GitBook space
- Share → PDF Export
- Download and distribute
If using Vercel:
- Vercel generates preview URLs
- Use Lighthouse or similar to create PDF
Quality Gates & Governance
Q: What quality gates are enforced?
A:
- Linting checks (code style)
- Unit tests (functionality)
- Documentation validation (markdown)
- Governance requirements (tasks, certifications)
View results in GitHub Actions.
Q: What are the Task 1-6 requirements?
A:
Tasks are organized in docs/addendum-bid/:
- Task 1 - Foundation deliverables
- Task 2 - Analysis and planning
- Task 3 - Implementation approach
- Task 4 - Timeline and resources
- Task 5 - First report and findings
- Task 6 - Certifications and compliance
Each task has specific requirements and checklists.
Q: How do I submit a complete proposal?
A: Ensure all tasks completed:
- All 6 tasks in
docs/addendum-bid/ - Tests passing:
npm test - Linting passing:
npm run lint - Documentation complete
- Certifications attached
- PR approved by reviewers
Then merge to main.
Q: Can I have partial submissions?
A: Yes. Feature branches can have partial work. Only main branch requires all quality gates passing.
GitBook Integration
Q: How do GitBook and the repository work together?
A:
- Primary source:
docs/gitbook/in repository - Git Sync: Bidirectional sync with GitBook space
- Editing: Can edit in GitBook web UI or repository
- Publishing: GitBook generates web pages and PDF
Q: Do I need a GitBook account?
A: Optional. You can:
- Just use GitHub for all work
- Use GitBook for web-based editing (requires account)
- Both simultaneously with Git Sync
Q: How do I enable Git Sync?
A:
- Create GitBook workspace/space
- Go to Share Settings
- Enable Git Sync
- Connect to GitHub repository
- Select target branch (usually
feature/gitbook) - Authorize connection
Q: How do I make documentation public?
A: In GitBook:
- Go to Share → Invite
- Select “Public link”
- Share the link
- Anyone can view (no login required)
Troubleshooting
Common Issues
npm install fails
# Clear cache and retrynpm cache clean --forcerm -rf node_modules package-lock.jsonnpm installTests won’t run
# Check Node versionnode --version
# Should be >= 18.0.0# If not, upgrade Node.js
# Try running tests with verbose outputnpm test -- --verboseGit push fails
# Make sure you're on correct branchgit branch
# Pull latest changesgit pull origin your-branch
# Try push againgit push origin your-branchGitBook sync not working
# Check Git statusgit status
# Make sure branch is correctgit branch -a
# Reset if neededgit fetch origingit reset --hard origin/your-branchLinting errors
# See what linter complains aboutnpm run lint
# Auto-fix issuesnpm run lint:fix
# Or manually fix and retrynpm run lintPort already in use
# If port 3000 is taken by another processnpm start -- --port 3001
# Or kill process using the port# macOS/Linux:lsof -i :3000kill -9 <PID>
# Windows:netstat -ano | findstr :3000taskkill /PID <PID> /FPerformance & Optimization
Q: How can I speed up npm install?
A:
# Use npm ci instead of npm installnpm ci
# Use offline mode if packages cachednpm install --prefer-offlineQ: How do I reduce repository size?
A:
# Remove node_modules before pushingrm -rf node_modules
# Use .gitignore to exclude:node_modules/.env*.logdist/coverage/Q: How do I clean up old branches?
A:
# List all branchesgit branch -a
# Delete local branchgit branch -d branch-name
# Delete remote branchgit push origin --delete branch-nameAdvanced Topics
Q: Can I use custom GitHub Actions?
A:
Yes. Modify .github/workflows/ files to add custom automation.
Q: Can I integrate with CI/CD systems?
A: Yes. GitHub Actions automatically runs on push. You can also integrate with:
- Jenkins
- GitLab CI
- CircleCI
- TravisCI
Q: How do I add environment variables?
A:
# Local developmentCreate .env file in root(Add to .gitignore to keep private)
# GitHub ActionsSettings → Secrets → Add environment variablesReference in workflow filesQ: Can I use Vercel for hosting?
A: Yes, for static documentation/preview hosting:
npm i -g vercelvercelSupport & Contact
Getting Help
- Documentation: Check this FAQ and guides
- GitHub Issues: Report bugs or request features
- GitHub Discussions: Ask questions and discuss
- Email: Contact maintainers for urgent issues
Providing Feedback
Found a bug? Have a suggestion?
- Go to GitHub Issues
- Search for existing issues
- Create new issue if needed
- Provide detailed description and steps to reproduce
Contributing
Want to contribute? See CONTRIBUTING.md for guidelines.