{"repo":"antistatique/capdrupal","free":true,"listed":false,"github":"https://github.com/antistatique/capdrupal","clone":"git clone https://github.com/antistatique/capdrupal.git","description":"Capistrano recipies for Drupal 10, Drupal 9, Drupal 8 and Drupal 7","language":"Ruby","stars":50,"topics":["capistrano","ruby","drupal","drupal-7","drupal-8","drupal-9","deployment","automation","drupal-10"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Capdrupal This gem provides a number of tasks which are useful for deploying & managing Drupal projects with Capistrano. Capdrupal version Capdrupal Gem Version Branch Capistrano Version Drupal Version --------------------- ------ ------------------ -------------- 0.11.0 d7 2 7.x 3.x main 3.x 8.x 3.x main 3.x 9.x 3.x main 3.x 10.x Prerequisites By default, Capdrupal will use Drush to run every Drupal commands. Therefore, your Drupal project must to require drush/drush . You may add Drush as a dependency using composer require drush/drush in your Drupal project. Read more at drush/drush. Installation Add this line to your application's Gemfile: And then execute: Or install it yourself if gems is installed on your system: Configuration First, go to your project directory and launch Capistrano. Capistrano will create the following skeleton Create two files Capfile and config/deploy.rb . Open Capfile and set the dependencies. Then, go to config/deploy.rb to set the parameters of your project. First you have to define the general information about the user, server and the app himself. The specific Drupal information Then, all the others information related to your Git repository or debug level Finally, set the deployment to use the proper Drupal 8 strategy You may now can configure your staging.rb and production.rb strategy, has you will certainly deploy on different environment Awesome, your configuration is complete ! Usage So, after configuration come action ! The first time, y","default_branch":null,"files":null,"tree":[],"storefront":"/r/antistatique","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/antistatique/capdrupal/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}