bedrock/docs
Steve Jalim a1a0ba7bc4
Developer experience improvements around DB downloads and getting CMS images (#15079)
* Update "make preflight" command to allow a -- --retain-db flag

This will help people avoid blatting their local DB and losing WIP CMS pages

* Improve formatting (line breaks) for the boostrap_local_admin management command

* Add tool to download images to match a fresh DB download

* Expand set to default rendition sizes exported, so that downloaded images all have appropriate sizes made

The 165x165 is what the Image Library in Wagtail needs, so we must ensure a local download of images regenerates that immediately

* Add docs for the image-download tool

* Exclude image renditions from the DB export

These are not needed, and indeed block the [re]generation of renditions after download. If a DB row exists for a rendition, even though the image does not, Wagtail won't regenerate an image rendition to replace it because it thinks it already exists.

* Test fixups

* Add extra line to Makefile help explain how to use --retain-db flag via make

* Add docs explaining how to get CMS state down to local dev

* Minor fixups following code review
2024-09-11 12:19:42 +04:00
..
_static Bug 816080: Upgrade Bedrock to latest Playdoh 2013-05-15 11:14:13 -07:00
_templates Fully remove old l10n uses and machinery (#11461) 2022-04-14 15:55:02 -07:00
architecture/decisions Add a positive consequence to the Wagtail ADR (#14473) 2024-04-17 09:28:42 +01:00
attribution Bump glean.js to v5.0.3 and glean-parser to v14.5.0 2024-08-29 11:01:03 -07:00
images Update Glean documentation (#14736) 2024-07-03 09:30:19 +01:00
Makefile Minor dependency bump (#13210) 2023-06-01 15:10:33 +01:00
abtest.rst Bump Traffic Cop to v3.0.0 (Fixes #14086) (#14087) 2024-04-29 14:50:53 -07:00
architectural-decisions.rst Add pre-commit hook for including the MPLv2 in all source code files (#10617) 2021-10-22 13:09:44 +01:00
attribution.rst Refresh attribution documentation (#13155) 2023-05-19 13:11:22 -07:00
banners.rst Remove home page fundraising banner (Issue #14015) (#14036) 2024-01-02 12:58:10 -06:00
browser-support.rst Update docs to reference Mozilla accounts (Fixes #137240) (#13814) 2023-10-23 09:31:34 -05:00
build-github.zsh Bug 816080: Upgrade Bedrock to latest Playdoh 2013-05-15 11:14:13 -07:00
cms.rst Developer experience improvements around DB downloads and getting CMS images (#15079) 2024-09-11 12:19:42 +04:00
coding.rst Remove tinypng-cli lib (Fixes #14014) (#14342) 2024-04-04 09:34:21 +11:00
conf.py Add background task queue support and use it for CMS image generation (#14617) 2024-06-04 14:27:34 +04:00
content-cards.rst Add pre-commit hook for including the MPLv2 in all source code files (#10617) 2021-10-22 13:09:44 +01:00
contentful.rst Add in skeleton documentation for Wagtail integration (#14616) 2024-05-31 13:32:27 +01:00
contribute.rst Mention new demo servers in docs (#13444) 2023-07-24 22:43:55 +01:00
download-buttons.rst Omit non-essential fields from RTAMO flow (Fixes #14482) 2024-05-01 09:40:06 +01:00
funnelcake.rst Update main branch references to www-config repo 2022-04-15 14:49:12 -04:00
index.rst Add background task queue support and use it for CMS image generation (#14617) 2024-06-04 14:27:34 +04:00
install.rst Developer experience improvements around DB downloads and getting CMS images (#15079) 2024-09-11 12:19:42 +04:00
l10n.rst Update l10n obsolete removal wording (#14474) 2024-04-17 10:36:28 +01:00
legal-docs.rst Add some docs for the privacy notice templates #14233 (#14562) 2024-05-21 11:01:33 -07:00
mozilla-accounts.rst Remove mozillaonline integrations 2024-04-30 10:09:56 +01:00
newsletters.rst Update docs to reference Mozilla accounts (Fixes #137240) (#13814) 2023-10-23 09:31:34 -05:00
pipeline.rst Add Playwright testing docs (#14905) 2024-07-31 09:10:58 +01:00
redirects.rst Update pytest entrypoints (#14868) 2024-07-24 14:17:17 +04:00
send-to-device.rst Update newsletter IDs 2024-04-10 12:08:21 -07:00
sitemap.rst Clarify that it's data flowing around, not rendered sitemaps 2022-02-24 14:06:21 -05:00
task-queue.rst Add background task queue support and use it for CMS image generation (#14617) 2024-06-04 14:27:34 +04:00
testing.rst Fix node warning calling rmdirSync() when running Playwright setup (Fixes #15058) (#15061) 2024-09-06 15:58:23 +10:00
uitour.rst Update docs to reference Mozilla accounts (Fixes #137240) (#13814) 2023-10-23 09:31:34 -05:00
vpn-subscriptions.rst Update docs to reference Mozilla accounts (Fixes #137240) (#13814) 2023-10-23 09:31:34 -05:00