Repository navigation
Developer guide
apps/users and apps/blog are Astro/TypeScript user-facing applications; apps/user-api is Django/DRF/PostgreSQL; packages/ holds shared code; docs/ holds architecture and lessons. Node requirement is 24.x per root package.json; use the Python requirement in apps/user-api/pyproject.toml, not an arbitrary system Python.
npm ci
npm run check
npm run build
cd apps/user-api
python -m venv .venv
. .venv/bin/activate
python -m pip install -e .
python manage.py check
python manage.py test portal --settings=config.test_settingsStart a local PostgreSQL instance configured with development-only credentials before migration-based integration testing; the basic commands above do not substitute for database tests. For onboarding follow docs/QUICK_START.md. Never run makemigrations against production or commit sample secrets.
Identify the authoritative repository and domain object first. UI code should not recreate ACP's memory store or Slurm scheduling logic. Add server-side permission tests, ownership-negative tests and browser behavior tests. Use migrations for schema changes and ensure forwards/rollback compatibility. API changes require documented methods, allowed roles, CSRF/session requirements, error responses and version behavior.
Before PR submission, inspect formatting checks, tests, frontend build, status of affected cross-repo manifests, and any necessary pinned image-digest promotion. A feature merged into source may not yet be deployed.
References: contribution policy, Django test config, API route map.
Quantum Platform
- Home
- Getting started
- Account and access
- Researcher guide
- Workbench and runs
- Agent and Guide
- Administrator guide
- Developer guide
- API and integration
- Troubleshooting
- Security
- Contributing
- Guide integration and support Detailed topics
- Programme approval and resource entitlements
- Authentication MFA and key management
- JupyterHub and SSH identity
- API development and tests
- Research programme administration Guide integration
- Guide knowledge and source ingestion
- Guide support and ticket workflows