brew install ddev
cd ~
mkdir -p projects/rsvp
cd projects/rsvp
ddev config --project-type=drupal10 --docroot=web --create-docroot
ddev start
ddev composer create "drupal/recommended-project:^10.3"
(DDEV automatically creates the necessary settings.ddev.php
file and includes it in settings.php
.)
Access the Web Container:
ddev ssh
// add a RSVP Composer in the vendor/ folder
cd vendor
// Pull down project composer
git clone https://github.com/slackstone/rsvp_composer
cd /var/www/html/
mv composer.json composer_project_template.org
rm composer.lock
cp vendor/rsvp_composer/composer.json .
composer update
...
- Installing rsvp-system/rsvp-system-module (dev-main 40ef028): Extracting archive
- Installing rsvp-system/rsvp-system-recipe (dev-main 47bfb0f): Extracting archive
Notes for installing "Location"
https://git.drupalcode.org/project/locations
> php core/scripts/drupal recipe recipes/contrib/locations
The "googlemaps" plugin does not exist. Valid plugin IDs for Drupal\geocoder\ProviderPluginMana
ger are: random, file, kmlfile, gpxfile, geojsonfile
composer require drupal/geocoder
drush pm:enable geocoder -y
// Setting local container
// from in project directory
ddev composer create "drupal/recommended-project:^10"
//Update the ddev config
to point to the correct docroot.
ddev config --project-type=drupal10 --docroot=web --create-docroot
-- TODO
Get theses modules into the Composer Template, or remove them from config.
>ddev start
> ddev ssh
> cd web
> drush si standard --account-name=open_source --account-pass=admin --db-url=mysql://db:db@db/db -y
>cd vendor
git clone https://gitlab.com/rsvp-system/rsvp-system-composer.git
cd /var/www/html
cp vendor/rsvp-system-composer/composer.json .
composer update
cd web
// ask Drush for a login link
../vendor/bin/drush uli