make install-dev
make demo-migratemake install-dev creates .venv automatically and installs project dev dependencies into it.
If you want local overrides:
cp .env.example .env
make ENV_FILE=.env upmake qa
make coverage- Branch from
mainusingfeature/<short-name>orfix/<short-name>. - Keep commits focused and descriptive (imperative style).
- Include tests in the same PR as behavior changes.
- Fast smoke tests in Docker:
make test
- Full test suite in Docker:
make test-all
- One test target:
make test-one TEST=tests/test_api.py::test_catalog_and_checkout_flow
- Keep domain/business logic in service modules.
- Keep views/viewsets thin.
- Keep serializers focused on validation and representation.
- Add migrations only for intentional schema changes.
- Create app code under
src/. - Register the app in demo settings if demo exposure is required.
- Mount routes from
productory_ecommerce.urlswhen API surface changes. - Add tests in
tests/for service and API behavior. - Update diagrams/docs in
docs/if models or flows change.
- Update
CHANGELOG.mdfor user-visible changes. - Tag releases using semantic versioning (
vMAJOR.MINOR.PATCH). - Keep
pyproject.tomlmetadata and README links in sync with the repo.
- Add or adjust tests for behavior changes.
- Describe behavior changes, migrations, and rollback considerations.
- Use
maketargets in docs and examples for consistency.