lab/drupal-nix-flake/README.md

329 B

drupal-nix-flake-example

Run nix run to start the project.

Run nix develop to enter the dev shell to access PHP and Composer, or use direnv.

Install Drupal:

drush site:install --db-url=mysql://root@127.0.0.1/drupal_nix_flake_example

Add drupal/core-dev to run tests:

composer require --dev drupal/core-dev