Welcome to Bedrock’s documentation!¶
bedrock is the project behind www.mozilla.org. It is as shiny, awesome, and open-source as always. Perhaps even a little more.
bedrock is a web application based on Django, a Python web application framework.
Patches are welcome! Feel free to fork and contribute to this project on Github.
Contents¶
- Installing Bedrock
- Localization
- Developing on Bedrock
- Managing Dependencies
- Asset Management and Bundling
- Writing JavaScript
- Writing URL Patterns
- Finding Templates by URL
- Optimizing Images
- Embedding Images
- Using Large Assets
- Writing Migrations
- Writing Views
- Metrics Collection with Markus
- Coding Style
- Test coverage
- Configuring your Code Editor
- Working with Protocol Design System
- How to contribute
- Continuous Integration & Deployment
- Front-end testing
- Managing Redirects
- Newsletters
- Contentful CMS Integration (Deprecated)
- CMS
- High-level summary
- Accessing the CMS on your local machine
- Fetching the latest CMS data for local work
- Adding new content surfaces
- Editing current content surfaces
- The
CMS_ALLOWED_PAGE_MODELS
setting - Migrating Django pages to the CMS
- Generating URLs for CMS pages in non-CMS templates
- Images
- Page-tree concept
- Locale configuration within Wagtail
- Localization process
- Infrastructure notes
- Sitemaps
- Legal Docs
- Using External Content Cards Data
- Banners
- Mozilla.UITour
- Task queue
- Send to Device Widget
- Firefox Download Buttons
- Mozilla accounts helpers
- A/B Testing
- Mozilla VPN Subscriptions
- Attribution
- Architectural Decision Records
- 1. Record architecture decisions
- 2. Move CI/CD Pipelines to Gitlab
- 3. Use Cloudflare Workers and Convert for multi-variant testing
- 4. Use Fluent For Localization
- 5. Use a Single Docker Image For All Deployments
- 6. Revise tooling for Python dependency management
- 7. Further revise tooling for Python dependency management
- 8. Move Demos To GCP
- 9. Manage Contentful schema state via migrations
- 10. Move CI to Github Actions for Unit and Integration tests
- 11. Use StatsD for metrics collection
- 12. Use Wagtail as Bedrock’s CMS
- Browser Support