Internal tool for managing colleague placements within the Dutch government. Wies provides an overview of who is working where, on what, and when.
- Backend: Django 6 with PostgreSQL
- Templates: Jinja2
- Styling: @nldd/design-system (NLDD web components, Dutch government design system)
- Interactivity: HTMX
- Authentication: OIDC via Keycloak
- Package management: uv
- Docker
- just
- uv
- Node.js (for JavaScript tests, >= v22)
- pre-commit
Installs dependencies, sets up database with base dummy data, creates .env:
just setupOptionally, generate and load full dummy data for performance testing (requires network):
just load-full-dataThen update .env:
- Fill in OIDC credentials
- Set
INITIAL_USER_FIRSTNAME,INITIAL_USER_LASTNAME,INITIAL_USER_EMAIL(yourself) - Set
STAFF_EMAILS
just upwies/core/— main Django app (models, views, forms, templates, tests)wies/rijksauth/— OIDC auth integrationconfig/settings/— Django settings per environmentdocs/— beheerplan, privacy declaration and other docsfeatures/— feature-specific design docs (e.g. inline editing)
just setup # Set up fresh environment (base dummy data)
just load-full-data # Generate and load full dummy data
just up # Start application
just down # Stop containers
just test # Run all tests (Django + JS)
just test django # Run Django tests only
just test js # Run JavaScript tests only
just manage [...] # Django manage.py commands
just lint # Run ruff check + format check
just format # Auto-fix lint issues and format code
just pre-commit # Run all pre-commit hooks
just vendor # Install front-end packages into wies/core/static/vendorThis project serves its external JavaScript and CSS itself instead of using a CDN. This ensures the application works without external network dependencies and improves security (no CDN in CSP).
Packages (package.json, locked in package-lock.json):
- htmx - JavaScript library for AJAX/HTML
- @nldd/design-system - NLDD web components + styles (single
nldd.min.jsbundle +css/+fonts/)
scripts/vendor.sh runs npm ci and copies the files Wies loads from
node_modules into wies/core/static/vendor/. That directory is not in git:
the image build runs the script in its vendor stage, and locally just vendor
runs the same stage and writes the result to your checkout (Docker only, no
Node on the host needed). just setup, just up and just test django do this
for you, because docker compose mounts the checkout over the image.
Dependabot opens a PR that updates package.json and package-lock.json. By
hand (needs Node):
npm install --package-lock-only --ignore-scripts --save-exact @nldd/design-system@<version>
just vendorThen test the application and commit package.json and package-lock.json.
Run all tests:
just testRun Django or JavaScript tests separately:
just test django
just test jsRun specific Django tests:
just manage test wies.core.tests.test_roles| Role | Description | Permissions |
|---|---|---|
| Gebruikersbeheerder | User administration | Users, labels, onderdelen and contract hours |
| Business Manager | Business management | Any wies-sourced opdracht, and reading contract hours and role hours |
| Consultant | Employee | View-only, plus the text fields of an opdracht they are placed on |
The Applicatiebeheerder (database, errors) is the STAFF_EMAILS setting, not a
role, and carries no functional rights. The names above are labels; a role is
stored under a key. See docs/roles.md.
| Term | Description |
|---|---|
| Plaatsing | Placement of a colleague on a service |
| Opdracht | Assignment/project for a ministry |
| Dienst | Service/work needed for an assignment |
| Collega | Colleague with skills who can be placed |
| Ministerie | Government organization that issues assignments |
- Everything in
mainbranch - Make release branch
- Change "unreleased" in CHANGES to date, create new unreleased header with a placeholder list
- Merge release branch into main
- Tag with date:
git tag -a 2026-01-19 -m "2026-01-19" - Push tag:
git push --tags - CI produces image and deploys
- (optional) execute post-release actions, check the PR bodies for the post-release actions
This project has configuration for Claude Code in .claude/ (project instructions, rules, skills, and agents). Start a Claude Code session in the project root for AI-assisted development with project context.