A project template for Drupal 8 sites on Managed Hosting with a docroot directory and modified .gitignore to allow all site files to be committed and tagged for release.
Our front-end developer team has put together a Drupal 8 starter theme called Starterlight to use for starting new Drupal 8 theming projects. See the Starterlight project page on GitHub for documentation.
This repository is ready to use out of the box in Lando for local development. Make sure to rename the Lando project in the .lando.yml file.
This repository is ready to be integrated with Probo.CI to install a fresh copy of Drupal 8. Additional configuration to the .probo.yaml file is required to manage configuration imports after the site has been installed.
Below you can find step by step documentation for creating a new Drupal 8 project repository controlled by Composer that lives on GitHub and is hosted on a Managed hosting environment.
Requirements: Lando
-
Create a new GitHub repository for the project site using this repository as a template.
-
Clone the new repository and rename the project's name value in the .lando.yaml file.
name: cooldrupalproject
-
Start the Lando project.
lando start
-
Connect Probo.CI to the new GitHub repository for testing changes in Pull Requests. Note: Requires a database export of the local site install of
export.sql.gz
, or modify thedatabase:
value in the .probo.yaml file. -
Composer require any additional contrib projects and commit the changes to a Feature Branch.
lando composer require drupal/webform
-
Create a Pull Request based on the Feature Branch on GitHub to test the new project site on Probo.CI.
-
Create a git Tag for code releases when applicable.
git tag 1.0.0 git push --tags
-
Pull the site code down to the desired server(s) as needed.
git fetch git checkout 1.0.0