зеркало из https://github.com/mozilla/bedrock.git
a1a0ba7bc4
* 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 |
||
---|---|---|
.. | ||
_static | ||
_templates | ||
architecture/decisions | ||
attribution | ||
images | ||
Makefile | ||
abtest.rst | ||
architectural-decisions.rst | ||
attribution.rst | ||
banners.rst | ||
browser-support.rst | ||
build-github.zsh | ||
cms.rst | ||
coding.rst | ||
conf.py | ||
content-cards.rst | ||
contentful.rst | ||
contribute.rst | ||
download-buttons.rst | ||
funnelcake.rst | ||
index.rst | ||
install.rst | ||
l10n.rst | ||
legal-docs.rst | ||
mozilla-accounts.rst | ||
newsletters.rst | ||
pipeline.rst | ||
redirects.rst | ||
send-to-device.rst | ||
sitemap.rst | ||
task-queue.rst | ||
testing.rst | ||
uitour.rst | ||
vpn-subscriptions.rst |