- type
- moc
- created
- Tue Apr 07 2026 02:00:00 GMT+0200 (Central European Summer Time)
- updated
- Tue Apr 07 2026 02:00:00 GMT+0200 (Central European Summer Time)
- tags
- moc operations deployment
MOC: Operations
abstract
Map of Content for B2BPaper operations: deployment, PM2 process management, nginx routing, database, Celery, test suites, and runbooks.Live Deployment
- Marketplace app: https://b2bpaper.xdvu.com/mvp/app/
- API: https://b2bpaper.xdvu.com/mvp/api/docs/ (Swagger)
- Admin: https://b2bpaper.xdvu.com/mvp/admin/
- Wiki (this site): https://b2bpaper-wiki.xdvu.com/
- Server: Contabo VPS — vmi2998435.contaboserver.net (77.237.235.106)
wiki/wiki/concepts/deployment-urls for the full URL inventory.
Process Layout
wiki/wiki/concepts/pm2-process-layout — the PM2 processes that run the marketplace stack:
marketplace-api— Django + Gunicorn on port 8910marketplace-celery-worker— Celery worker for async jobsmarketplace-celery-beat— Celery beat for scheduled tasks (5min Excel polling, etc.)b2bpaper-wiki— this wiki Express server on port 3081
Web Server
wiki/wiki/concepts/nginx-mvp-routing — nginx routes:
b2bpaper.xdvu.com/mvp/api/*→ port 8910 (Django)b2bpaper.xdvu.com/mvp/app/*→ static Angular build at/var/www/hub/b2bpaper-app/b2bpaper-wiki.xdvu.com/*→ port 3081 (this wiki server)
Database
wiki/wiki/concepts/database-credentials-and-roles — PostgreSQL b2bpaper. Credentials in backend/.env.
Async / Scheduled Jobs
wiki/wiki/concepts/celery-beat-tasks — Celery beat schedule:
- Email polling (Excel ingestion) — every 5 minutes
- Newsletter generation — daily
- Exclusivity expiration sweep — hourly
- Pre-production reminders — daily
Tests
wiki/wiki/concepts/test-suites-overview — 741 passing tests + 16 slow benchmarks. Run with:
cd backend && python manage.py test
cd frontend && npx playwright test
Seed Accounts & Data
wiki/wiki/concepts/seed-accounts — login credentials and demo data set up by manage.py seed_* commands.
Source Summaries
- wiki/wiki/summaries/techcontext-summary — full infrastructure detail
- wiki/wiki/summaries/progress-summary — what's been deployed
- wiki/wiki/summaries/status-summary — current health
- wiki/wiki/summaries/changelog-summary — recent changes
- wiki/wiki/summaries/bugs-summary — known issues
Related MOCs
- wiki/wiki/_moc-architecture — what's being deployed
- wiki/wiki/_moc-people-and-tools — the tools used in the stack