lucacracco/project-starterkit

Project template custom for Drupal 9 projects with a relocated document root

dev-drupal-9.x 2023-01-14 11:20 UTC

This package is auto-updated.

Last update: 2024-04-26 20:13:40 UTC


README

Ex. The project contains the company's website.

LAMP Software

Table of Contents

Installation

Create new project

composer create-project lucacracco/project-starterkit:dev-drupal-9.x my-folder

Clone

Clone this repo to your local machine using: git clone git@...

DDEV

More info: https://ddev.readthedocs.io/en/stable/ .

Run LAMP stack:

ddev start
ddev ssh

Note: You can override the config.yaml with extra files named config.*.yaml.

Install

  • Download libraries with composer:

    composer install --prefer-dist
  • Install Drupal and Project

    Scratch:

    robo scaffold
    robo install standard

    or from Database dump(.sql):

    robo scaffold
    robo install:database [path of .sql dump]

Update

When you download a new code (pull from repository an updates), will run:

  • Update composer vendor:

    composer install --prefer-dist
  • Update Drupal database:

    robo scaffold
    robo deploy

Features

Export/import configuration

robo config:export
robo config:import

FAQ

  • How do I do specifically so and so?
    • No problem! Just do this.