fourkitchens / sous-drupal-project
Drupal project with Gin administration and an Emulsify theme.
Package info
github.com/fourkitchens/sous-drupal-project
Language:Shell
Type:project
pkg:composer/fourkitchens/sous-drupal-project
Requires
- php: ^8.4
- composer/installers: ^2.3.0
- cweagans/composer-patches: ^2.0.0
- drupal/core-composer-scaffold: ^11.4.11
- drupal/core-project-message: ^11.4.11
- drupal/core-recipe-unpack: ^11.4.11
- drupal/core-recommended: ^11.4.11
- drupal/core-vendor-hardening: ^11.4.11
- drush/drush: ^13.8.0
- oomphinc/composer-installers-extender: ^2.0.1
- webflo/drupal-finder: ^1.3.1
- zaporylie/composer-drupal-optimizations: ^1.2.0
Requires (Dev)
- drupal/coder: ^9.0
Suggests
None
Provides
None
Conflicts
Replaces
None
- dev-main
- 8.0.0
- 7.0.1
- 7.0.0
- 6.3.1
- 6.3.0
- 6.2.2
- 6.2.1
- 6.2.0
- 6.1.0
- 6.0.2
- 6.0.1
- 6.0.0
- 5.4.0
- 5.3.0
- 5.2.0
- 5.1.0
- 5.0.0
- 4.4.0
- 4.3.0
- 4.2.2
- 4.2.1
- 4.2.0
- 4.1.3
- 4.1.2
- 4.1.1
- 4.1.0
- 4.1.0-beta.1
- 4.0.1
- 4.0.0
- 3.0.0
- 2.2.2
- 2.2.1
- 2.2.0
- 2.1.0
- 2.0.1
- 2.0.0
- 1.1.0
- 1.0.0
- 0.0.1
- dev-codex/release-starter-8.x
- dev-codex/site-editor-menu-docs
- dev-codex/menu-docs-alert-links
- dev-codex/shared-staples-tickets
- dev-codex/relock-patches
- dev-codex/dashboard-alerts-smoke
- dev-codex/drop-sous-runtime
- dev-codex/generated-sites-ai-ready
- dev-codex/starter-main-course-components
- dev-codex/install-dashboards
- dev-codex/sous-content-list
- dev-codex/release-2026-10-26
- dev-sous-7.x
- dev-laura-johnson-patch-1
- dev-drupal-cms
- dev-SOUS-33
- dev-fix-remove-fieldgroup-patch
- dev-feat-theme-build-fail-graceful
- dev-emulsify-base-theme
- dev-issue-3339711--add-project-ci
- dev-3368059-update-readme-steps
- dev-simplify-script-calls
- dev-3232909-enable-admin-block
- dev-3249228-remove-file-browser
- dev-feat-readme-setup-and-demo
- dev-remove-profile-legacy-modules
- dev-remove-profile-legacy-modules-timeout
- dev-recipe
- dev-add-theme-module-custom
- dev-fix-default-config-sync-dir
- dev-fix-readme
- dev-3232924-theme-install-broken
- dev-fix-remove-drupal-console
- dev-fix-oomphinc-allow-plugins
- dev-fix-sed-command-for-linux
- dev-beta
- dev-alpha
- dev-next
- dev-next-major
- dev-4.x-beta
- dev-npm-installer
- dev-4.x-beta-package-updates
- dev-docs-update
- dev-admin-gin2
- dev-image-update
- dev-pantheon-systems
- dev-update-php-74
- dev-admin-claro
- dev-fix-emulsify-theme-name
- dev-theme-build-path
- dev-8.x-1.x
This package is auto-updated.
Last update: 2026-11-13 03:21:05 UTC
README
Sous Project
A Drupal starter with Gin administration, an Emulsify theme and Composer recipes. Sous prepares the project; your site owns its code, dependencies and configuration.
Features and Configurations
Choose the content model during installation. Every choice includes Gin administration, Emulsify, Media, text formats, dashboards, Config Split, a publishing workflow, Dev Tools and SEO. Paragraphs and Layout Builder also include Content List and Gallery.
| Choice | Content setup |
|---|---|
0 Admin only |
Administration and theme without Page or Frontpage |
1 Paragraphs |
Page and Frontpage with Layout Paragraphs components, Content List and Gallery |
2 Layout Builder |
Page and Frontpage with native layouts and text, media, Accordion, Tabs, Quote, Embed, Table, Content List and Gallery blocks |
The package index advertises optional recipes such as Events, News Post, Profile, Alerts and Search. The installer applies the included components and their matching integrations after the optional sides, so they can extend the Content fields the sides create. Admin only includes neither component. Dev Tools adds Devel, Stage File Proxy and Masquerade locally. Paragraph Types belongs to the Paragraphs main course. See features and configurations for the site's building blocks.
Installation
Dependencies and Requirements
- PHP 8.4 and Composer 2
- DDEV, Docker and Git
- Node.js from
.nvmrcon your computer
composer create-project fourkitchens/sous-drupal-project:^8.0 PROJECT_NAME
cd PROJECT_NAME
Answer the content, optional recipe, CI and dessert questions before installation starts. Dessert offers Emulsify UI Kit, a custom component library or None. For an unattended install, set every answer:
SOUS_CONTENT=layout-builder SOUS_RECIPES=sous-events,sous-news-post \ SOUS_CI=gitlab SOUS_LIBRARY=none \ composer create-project fourkitchens/sous-drupal-project:^8.0 PROJECT_NAME
SOUS_CONTENT accepts admin-only (0), paragraphs (1) or layout-builder (2).
SOUS_CI accepts circleci, github, gitlab or none (0–3).
Set SOUS_RECIPES='' for no extras, or supply names separated by spaces or commas.
SOUS_LIBRARY accepts none (default), ui-kit or an Emulsify-compatible Git URL ending in .git.
SOUS_LIBRARY_REF optionally selects a branch or tag; custom repositories otherwise use their default branch.
The installer checks the library ref before it starts setting up the site.
The final order summary shows the local URL and a generated password for sous_chef; UID 1 stays blocked.
If a fresh install fails partway through, keep the partial directory for troubleshooting and fix the reported error. Run composer create-project again in a fresh directory with a different name so DDEV creates a separate database. To reuse the original name, remove the failed DDEV project and move the partial directory aside first. The installer starts from a fresh database and theme scaffold on each run.
Recipe Dependency Management
Sous packages publish independent Composer recipes. Drupal's Composer plugin unpacks recipe dependencies when Composer requires a recipe. The installer applies the recipes once, then removes their source directories and the setup repository. The site owns the resulting dependencies and configuration. See adding a recipe for later additions.
Working with Emulsify
Installation generates a project-named Emulsify theme, sets it as the frontend default and installs its npm dependencies. Selecting a component library also installs it and compiles the theme; None leaves the scaffold ready for later. See Build Tools.
Additional Tooling
Helper scripts
Run npm run <command> through the shell scripts in devops/scripts/.
Shared Drupal commands use DDEV locally and installed tools in CI or on hosts; Node tools run directly.
Setup, rebuild, database import and backup remain local DDEV commands.
| Command | Purpose |
|---|---|
npm run setup |
Prepare a fresh clone, build available theme sources and restore its database |
npm run rebuild |
Reset a branch's database and deploy configuration |
npm run confex / npm run confim |
Export configuration / run Drush deploy |
npm run import-data / npm run local-data-bak |
Import or back up the local database |
See Local Setup, Build Tools and Deployment.
Semantic Versioning
Conventional Commits drive releases from main. Generated sites use v-prefixed
GitHub or GitLab releases; Sous retains its unprefixed tags.
See release setup.
Contributing
Use Conventional Commits and review guidance. Read the maintainer guide before changing Sous or its recipes.
GPL-2.0-or-later; upstream packages retain their own licenses and notices.