feat: add deployment config sync commands

This commit is contained in:
Md Bayazid Bostame
2026-03-29 01:35:40 +01:00
parent 5697f42306
commit a45c605b1e
5 changed files with 362 additions and 0 deletions

View File

@@ -235,6 +235,12 @@ docker compose exec -T web django-admin compilemessages</code></pre>
<li>The company domain now drives onboarding/offboarding email autofill and domain validation, so new customer deployments no longer require <code>@tub.co</code> code changes.</li>
<li>Outgoing system mail sender names are now branded through the same layer.</li>
<li>User invitation emails and welcome-template fallbacks also use the configured branding defaults.</li>
<li>Environment sync for text/color/company metadata is explicit:
<pre><code>docker compose exec -T web python manage.py export_portal_deployment_config --output /tmp/portal-deployment-config.json
docker compose exec -T web python manage.py import_portal_deployment_config /tmp/portal-deployment-config.json --dry-run
docker compose exec -T web python manage.py import_portal_deployment_config /tmp/portal-deployment-config.json</code></pre>
</li>
<li>Uploaded assets such as logo, favicon, and PDF letterhead are intentionally not included in this sync payload.</li>
</ul>
<h2 id="app-registry">12b) App Registry</h2>