11.7. Concept: Development Sites
Last updated on
14 April 2025
Development Sites are different copies of the same site used for developing, updating, and testing a site without risking the integrity of the live site.
An example deployment workflow for site building will usually include the sites mentioned below:
- Local environment
- The development process starts with developers working on new features, bug fixes, theming, and configuration in their local environment. The recommended tool for setting up a local environment is DDEV. See Section 3.5, “Setting Up an Environment with DDEV”.
- Development site
- Developers push the changes they’ve been working on to the development site. For a team of more than one developer, version control is usually used. Git is a version control system that tracks your files for any changes. You can then commit those changes to a repository. Using Git allows team members to work on the same site without overriding each other’s work. It also makes it possible to easily roll back to previous stages of the development.
- Staging site
- The staging site can be used for testing, or presenting the changes to the client for approval. QA (Quality Assurance) and UAT (User Acceptance Testing) are most often carried out on the staging site. It is recommended to have live content on both the development and staging sites, so that you can test how the new features will work with the existing content.
- Production site
- The live site on the web available to visitors. It contains new features that have been proven safe to go live.
Based on the project’s size, scope, requirements, or stakeholders, stages from the above workflow can be removed, or additional stages can be added. For example, a testing site before staging can be added to separate testing and user acceptance processes.
Attributions
Written and edited by Diána Lakatos, and Jojy Alphonso at Red Crackle, and Joe Shindelar at Drupalize.Me.
This page is generated from AsciiDoc source from the User Guide. To propose a change, edit the source and attach the file to a new issue in the User Guide project. PDF and e-book formats are available on the User Guide project page.
Source file: install-dev-sites.asciidoc
Help improve this page
Page status: No known problems
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion