Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 586 Bytes

README.md

File metadata and controls

37 lines (27 loc) · 586 Bytes

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