A modern Drupal 10 project with GraphQL integration, enhanced admin experience, and comprehensive content management capabilities.
- Drupal 10.5 - Latest Drupal core
- GraphQL Integration - Complete GraphQL API with Compose modules
- Modern Admin UI - Gin theme with enhanced toolbar
- Webform Support - Advanced form building capabilities
- SEO Tools - Metatag and Pathauto for SEO optimization
- Content Management - Enhanced editing with Visual Editor
- OAuth2 Integration - Simple OAuth for API authentication
- PHP 8.3+ with required extensions
- Composer 2.0+ for dependency management
- Database - MySQL 8.0+ or MariaDB 10.11+
- DDEV (recommended) or local web server
-
Clone the repository
git clone <repository-url> cd bounty-42-drupal
-
Configure and start DDEV environment
ddev config ddev start
-
Install PHP dependencies
ddev composer install
-
Configure settings for configuration import
# Add this line to the bottom of web/sites/default/settings.php echo "\$settings['config_sync_directory'] = '../config/sync';" >> web/sites/default/settings.php
-
Install Drupal
ddev drush site:install --existing-config
-
Access the site
- Site:
https://bounty-42-drupal.ddev.site - Admin:
https://bounty-42-drupal.ddev.site/user/login
- Site:
# Clone repository
git clone <repository-url>
cd bounty-42-drupal
# Install PHP dependencies
composer installddev drush config:export
# or
./vendor/bin/drush config:exportddev drush config:import
# or
./vendor/bin/drush config:importbounty-42-drupal/
├── composer.json # PHP dependencies and project config
├── config/sync/ # Drupal configuration files
├── web/ # Web root
│ ├── core/ # Drupal core files
│ ├── modules/ # Contrib and custom modules
│ ├── themes/ # Contrib and custom themes
│ ├── sites/default/ # Site-specific configuration
│ └── index.php # Entry point
├── vendor/ # Composer dependencies
└── private.key/public.key # OAuth2 keys
- Webform - Advanced form builder with GraphQL integration
- Visual Editor - Enhanced content editing experience
- Media Library - Comprehensive media management
- GraphQL Compose - Complete GraphQL API
- Simple OAuth - OAuth2 authentication for APIs
- JSON:API - RESTful API support
- Gin Theme - Modern admin interface
- Admin Toolbar - Enhanced admin navigation
- Coffee - Quick admin search
- Metatag - Meta tag management
- Pathauto - Automatic URL aliases
- Redirect - URL redirection management
Access the GraphQL endpoint at /graphql with features:
- Complete schema for all content types
- Webform integration
- Preview capabilities
- Fragment support
ddev start # Start environment
ddev stop # Stop environment
ddev restart # Restart environment
ddev composer install # Install PHP dependencies
ddev drush status # Check Drupal status
ddev drush cr # Clear cache
ddev logs # View logsdrush status # Site status
drush cr # Clear cache
drush config:export # Export configuration
drush config:import # Import configuration
drush user:create admin # Create admin user
drush user:password admin # Reset admin password- File permissions: Ensure
web/sites/default/filesis writable - Memory limits: Increase PHP memory limit for large imports
- Cache issues: Clear Drupal cache with
drush cr
# Fix file permissions
chmod -R 755 web/sites/default/files
# Clear all caches
ddev drush cr
# Check system requirements
ddev drush requirements- Follow Drupal coding standards
- Test configuration export/import
- Update documentation for new features
GPL-2.0-or-later