Skip to content

Opinionated DDEV config for our Drupal/CiviCRM installations

Notifications You must be signed in to change notification settings

socialistalternative/ddev-sa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ddev-sa

Opinionated DDEV config for our Drupal/CiviCRM installations.

Installation

ddev add-on get socialistalternative/ddev-sa

Setup

Add hooks to .ddev/config.yaml:

hooks:
  post-pull:
    - exec: .ddev/bin/setup
  post-start:
    - exec: .ddev/bin/setup

To support building a theme, define the theme name in .ddev/.env:

THEME=my_theme

To support Vite for theme development, expose ports in .ddev/config.yaml:

web_extra_exposed_ports:
  - name: vite
    container_port: 5173
    http_port: 5172
    https_port: 5173