Kickstart your new Drupal 9 site now!
- docker-sync
- docker-compose
cp .env.example .env
file (you may want to change PHP version according to your OS)cp docroot/sites/default/example.local.settings.php docroot/sites/default/local.settings.php
- Initialize the stack:
- On Linux use
make up
- On OS X:
- Start your docker-sync daemon
docker-sync start
- Then
make up
(you may have to wait for the sync to synchronize the files into the volume)
- Start your docker-sync daemon
- On Linux use
make composer install
make drush "site:install yadd --existing-config"
You may want to add the PROJECT_BASE_URL
configured in the .env file to your /etc/hosts
file
After that you can visit your site at PROJECT_BASE_URL
:TRAEFIK_PORT
- for example http://yadd.local:8000
.
To get information about what can you do with make please run:
make help
Profiles - docroot/profiles/custom
directory is the place for custom profile collection. There is already an example there to do whatever you wish.
Configuration - config
directory used to store default configuration for the site.
Module development - docroot/modules/custom
directory is there for you to develop your modules.
Theming - docroot/themes/custom
is the place to start creating your new custom theme.
This project uses wodby's docker4drupal.
Full documentation is available at https://wodby.com/docs/stacks/drupal/local.