-
First, start the project:
f1 up
-
Next, create the S3 bucket for s3fs:
f1 run aws s3 mb s3://drupal
-
Finally, allow anonymous access to the
public/
prefix of the S3 bucket:f1 run aws s3api put-bucket-policy --bucket drupal --policy "$(cat services/minio/policy.json)"
-
Copy
services/drupal/.env.example
toservices/drupal/.env
. -
Install dependencies:
f1 composer install
-
Build the CSS and Pattern Lab:
f1 run gesso gulp build
. -
Install Drupal from config (or restore a backup). You can install from config by running:
f1 drush si --existing-config
-
Import custom block configurations and clear cache:
f1 drush ib --choice safe; f1 drush cr
-
Edit your
services/drupal/.env
file and change the line that readsENV_STATE=build
to readENV_STATE=run
-- without this change you will not make use of Redis caching.
- Terraform configuration: see infrastructure/terraform.
- Builds: see .buildkite.