1 Dec 2020
Get all the links and commands at https://www.ddev.com/ddev-live/watch-ddev-live-preview-feature/
In the screencast we:
Create a site from a running DDEV-Local project
Wait for the site creation to complete.
Push the user-generated files up to the new site
Push the database (from the local project) up
Wait for the pushes to complete and then verify the new site.
Create a new branch and add some new code in the DDEV-Local project. In this case we're adding a theme by doing ddev composer require drupal/vani
Add the code, make a commit, push the new branch, and create a pull request.
The DDEV-Live bot immediately gives us instructions on the PR, suggesting that we type /ddev-live-create-preview. Do it, and a preview site is created.
Verify that the new theme is available and enable it on the preview site.
When done, pull the pull request and note that DDEV-Live automatically deletes the preview site.
In the screencast we:
Create a site from a running DDEV-Local project
Wait for the site creation to complete.
Push the user-generated files up to the new site
Push the database (from the local project) up
Wait for the pushes to complete and then verify the new site.
Create a new branch and add some new code in the DDEV-Local project. In this case we're adding a theme by doing ddev composer require drupal/vani
Add the code, make a commit, push the new branch, and create a pull request.
The DDEV-Live bot immediately gives us instructions on the PR, suggesting that we type /ddev-live-create-preview. Do it, and a preview site is created.
Verify that the new theme is available and enable it on the preview site.
When done, pull the pull request and note that DDEV-Live automatically deletes the preview site.
- 1 participant
- 14 minutes
10 Jun 2020
Unlike other CMS hosting solutions, connecting a CI/CD pipeline with DDEV-Live is a simple six-step process. This example shows how to create a user acceptance testing (UAT) environment using Jenkins — allowing you to quickly share projects with clients.
Even if your client is already locked into a hosting provider, you can simply set up previews of their projects by automatically deploying a test site via Jenkins onto DDEV-Live — skipping the hassle of going all the way to production before review.
While the above tutorial uses Drupal 8 as an example, DDEV-Live is for far more than just Drupal hosting and supports a wide array of PHP applications and CMSs.
More info on simplifying your end-to-end workflows: https://bit.ly/2MYN2ot
Ready to get rolling? Read the docs: https://bit.ly/3sndxUW
Even if your client is already locked into a hosting provider, you can simply set up previews of their projects by automatically deploying a test site via Jenkins onto DDEV-Live — skipping the hassle of going all the way to production before review.
While the above tutorial uses Drupal 8 as an example, DDEV-Live is for far more than just Drupal hosting and supports a wide array of PHP applications and CMSs.
More info on simplifying your end-to-end workflows: https://bit.ly/2MYN2ot
Ready to get rolling? Read the docs: https://bit.ly/3sndxUW
- 1 participant
- 6 minutes