The Drupal 8.7 installation that works with Gatsby's using-drupal example.
This Drupal installation includes:
- The
demo_umamiinstall profile with English and Spanish content. - The core JSON:API module installed.
- The contrib GraphQL 3.x module installed.
This repo is the source code that powers the web server at https://using-drupal.amazee.io.
The JSON:API endpoint is available at /jsonapi.
The GraphQL endpoint is available at /graphql.
You can use this source code to run your own copy of the web server.
- Install the Drush launcher. Alternatively, when the installation instructions say to run
drush, run./vendor/bin/drushinstead. - Install Composer.
- Clone this Git repository.
- Go into the
backupfolder and copy thefilesfolder toweb/sites/default. i.e. The copy of the folder will now be located atweb/sites/default/files. - Setup the Drupal install with
composer install - Start the Drupal site with
drush serve - Optionally,
drush uli --uri http://127.0.0.1:8888will load the site in your browser and log you in as admin.