This guide assumes Windows with PowerShell. Run all commands from the repository root.
- Python: 3.10+ (
python --version) - Node.js + npm: Node 18+ (
node --version,npm --version) - PostgreSQL: Local or hosted (e.g. Neon)
- Groq API key (for AI features)
- (Optional) Discord bot + channel for chat sync
DATABASE_URL=postgresql+psycopg2://USER:PASSWORD@HOST:PORT/DBNAME?sslmode=require
JWT_SECRET_KEY=some-long-random-secret-string
GROQ_API_KEY=your_groq_api_key_here
# Optional:
DISCORD_BOT_TOKEN=your_discord_bot_token_here
DISCORD_CHANNEL_ID=your_discord_channel_id_hereFrom repo root:
.\scripts\setup-backend.ps1Or manually:
cd backend
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r requirements.txtcd backend
.\.venv\Scripts\Activate.ps1
python app.pyStop with Ctrl+C after tables are created and seed data is loaded.
cd backend
.\.venv\Scripts\Activate.ps1
python create_default_users.pyCreates: admin1/admin1, lead1/lead1, emp1/emp1.
cd backend
.\.venv\Scripts\Activate.ps1
python seed_python_files.py.\scripts\run-backend.ps1Backend runs at http://localhost:5000.
.\scripts\setup-frontend.ps1
.\scripts\run-frontend.ps1Or: cd frontend, npm install, npm run dev. Frontend at http://localhost:5173.
Use demo accounts: admin1/admin1, lead1/lead1, emp1/emp1 (username = password).
- Workspace: Dashboard → Workspace → open file → Request Lock (as emp1).
- Approve: As lead1/admin1, use Lock Requests on Dashboard → Approve.
- AI: Workspace → Generate AI Analysis, or AI Module → Generate New AI Report.
- Meeting: As lead1, Start Global Meeting; others Join Meeting.
- Chat: Use Global Chat panel on the right.
- Cannot log in: Backend running? Correct
DATABASE_URL? Runcreate_default_users.pyagain. - AI errors: Set valid
GROQ_API_KEYinbackend/.env. - No Python files: Run
seed_python_files.pyafter DB is initialized.