fourkitchens / sous-drupal-project
Starter project for Sous a Drupal distribution featuring a theme based on Emulsify Design System.
Package info
github.com/fourkitchens/sous-drupal-project
Language:Shell
Type:project
pkg:composer/fourkitchens/sous-drupal-project
Requires
- php: >=8.3
- composer/installers: ^1.9
- cweagans/composer-patches: ^1.7
- drupal/core-composer-scaffold: ^11.1.2
- drupal/core-project-message: ^11.1.2
- drupal/core-recommended: ^11.1.2
- drush/drush: ^13.3
- ewcomposer/unpack: dev-master
- fourkitchens/sous-admin: dev-main
- fourkitchens/sous-emulsify: dev-main
- oomphinc/composer-installers-extender: ^2.0
- webflo/drupal-finder: ^1.2
- zaporylie/composer-drupal-optimizations: ^1.0
Conflicts
- dev-main
- 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-sous-7.x
- dev-laura-johnson-patch-1
- dev-drupal-cms
- dev-dependabot/npm_and_yarn/lodash-4.17.23
- dev-dependabot/npm_and_yarn/lodash-es-4.17.23
- dev-dependabot/npm_and_yarn/js-yaml-4.1.1
- 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-04-06 13:55:03 UTC
README
Sous Project
A starter kit for your Drupal project that simplifies your project setup with Emulsify. This starter kit includes a small set of contrib modules, a bundle of basic configuration, and a starter theme generated by EmulsifyCLI.
Features and Configurations
Sous not only generates a custom theme based on Emulsify, it also builds upon Drupal's default configuration to help streamline the project setup process. See the feature set documentation here.
Installation
Dependencies and Requirements
Without these you will have difficulty installing this project.
Use this command below and replace PROJECT_NAME with your chosen project name.
composer create-project fourkitchens/sous-drupal-project [PROJECT-NAME]
This starter kit supports DDEV for local development.
You will be prompted to select the version of Sous you want to install. The main versions are:
- Sous with Layout Builder
- Sous with Paragraphs
Both of these versions include Emulsify as the default theme in addition to a Gin admin and our recommended security, performance and admin modules.
Recipe Dependency Management
Recipe dependency unpacking is handled by Drupal core tooling (drupal/core-recipe-unpack), so no manual composer unpack step is required.
Working with Emulsify
The Emulsify theme is installed as part of this project.
Additional Tooling
This package provides some additional tooling to support the build.
Helper scripts
To use the helper script provided you will need to have npm installed. Then just run npm run <command>. For example: npm run import-data. These commands are bash scripts located in the ./devops/scripts directory and defined in package.json.
Configuration management scripts
confex
npm run confex
Export active configuration to the config directory.
confim
npm run confim
Import the configuration to the database.
import-data
npm run import-data
Import a copy of the canonical database backup into your local instance. This assumes the database backup is located in ./reference/db.sql.gz.
local-data-bak
npm run local-data-bak
Create a local database backup. Saves the backup to the ./reference directory.
rebuild
npm run rebuild
Rebuild a fresh local instance of your site. Imports the canonical database backup and imports configuration into it.
setup
npm run setup
This is run during the installation process of composer create project.
theme-build
npm run theme-build
Builds the emulsify based theme.
theme-watch
npm run theme-watch
Used for theme development.
Semantic Versioning
Setup
- This repo has the following named/maintenance branches:
main
x.x
x.x.x
- These branches are protected on GitHub
- A personal access token was created for CircleCI.
- CircleCI was setup to run on this project and tag the releases
- Commit changes following the Conventional commit guidelines
- Push your change up and verify CircleCI passes and has run on your desired branch.
Troubleshooting
- Your branch must be a named stable release branch in order to get a tag.
- Prereleases are not supported with this package because they contain a dot.
Contributing
The composer command can be adjusted to account for a new branch you're working on.
composer create-project fourkitchens/sous-drupal-project:dev-[branch-name] PROJECT_NAME
Contribute without create-project
To run setup + install:
- clone repo
gh repo clone fourkitchens/sous-drupal-project [directory] cdto your project directorycomposer installcomposer run-script post-create-project-cmd
Contribute to recipes
- Follow the steps above, and choose
[0] Default Sous (media and content types only)option when presented with the recipe dialogue in the setup script - Composer require the recipe using --prefer-source. Optionally specify a branch.
- The recipe will be added to the /recipes directory. Make changes there and push to your branch.
- Make desired changes to sous and export config. Compare the config in the /config/default directory to the config in the recipe. You may be able to replace the config in the recipe, or you may need to apply config actions.
- Test your recipe by running
ddev install-recipe [recipe-name]
[TODO] Add more information on updating recipe config and config actions.
Current recipes in Sous
[TODO] Add recipes here.
To install recipes, use the ddev install-recipe command. Eg. For the paragraphs version of Sous, run:
ddev install-recipe fourkitchens/sous-paragraphs