Update 'create a site' instructions for Drupal 10 Drutopia

This commit is contained in:
benjamin melançon 2023-10-19 12:32:23 -04:00
parent d61f414387
commit bb860d2532

View file

@ -44,13 +44,13 @@ cd ~/Projects/agaric/sites/$MY_SITE
Once you have created and are in this directory, whether `agaric/sites` or `drutopia-platform/sites` or wherever you want your project to live within the GitLab namespace, you can copy-paste these commands for a quick start: Once you have created and are in this directory, whether `agaric/sites` or `drutopia-platform/sites` or wherever you want your project to live within the GitLab namespace, you can copy-paste these commands for a quick start:
``` ```
wget https://gitlab.com/drutopia-platform/build_source/-/raw/master/composer.json wget https://gitlab.com/drutopia-platform/build_source/-/raw/main/composer.json
wget https://gitlab.com/drutopia-platform/build_source/-/raw/master/composer.lock wget https://gitlab.com/drutopia-platform/build_source/-/raw/main/composer.lock
wget https://gitlab.com/drutopia-platform/build_source/-/raw/master/.gitignore wget https://gitlab.com/drutopia-platform/build_source/-/raw/main/.gitignore
mkdir -p scripts mkdir -p scripts
wget -O scripts/pull.sh https://gitlab.com/drutopia-platform/build_source/-/raw/master/scripts/pull.sh wget -O scripts/pull.sh https://gitlab.com/drutopia-platform/build_source/-/raw/main/scripts/pull.sh
chmod +x scripts/pull.sh chmod +x scripts/pull.sh
ddev config --docroot=web --project-type=drupal9 --composer-version=2 --webserver-type=apache-fpm --database=mariadb:10.5 --php-version=7.4 --create-docroot ddev config --docroot=web --project-type=drupal10 --webserver-type=apache-fpm --database=mariadb:10.8 --php-version=8.1 --create-docroot
ddev start ddev start
ddev auth ssh ddev auth ssh
ddev composer install ddev composer install