basaltinc / drupal-lite
Project template for a simple Drupal 8 using SQLite for easy dev testing.
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- composer/installers: ^1.2
- cweagans/composer-patches: ^1.6
- drupal-composer/drupal-scaffold: ^2.2
- drupal/config_installer: ^1.7
- drupal/console: ^1.0.2
- drupal/core: ~8.5
- drupal/devel: ^1.2
- drush/drush: ^9.0.0
- webflo/drupal-finder: ^1.0.0
- webmozart/path-util: ^2.3
Requires (Dev)
Conflicts
This package is auto-updated.
Last update: 2024-11-06 12:44:29 UTC
README
Project template for a simple Drupal 8 using SQLite for easy dev testing.
Usage
Creating a new project
If you want to create a new project using this, run:
composer create-project basaltinc/drupal-lite some-dir --stability dev --no-interaction
- Commit the results
- Delete this section of "Creating a new project" as it's confusing.
Using the current Drupal Lite project
First time setup
composer install composer run build composer run serve
Workflows
- Make changes
- Export your config with
composer run export
- Rebuild site to test with
composer run build
- Commit
Commands
composer run serve
- Start a webservercomposer run cr
- Clear Drupal cache viadrush cr
composer run export
- Export database config to yml files viadrush config:export
composer run build
- Drop the current database, install site, import config, generate dummy content, clear the cache and carry on.composer run start
- Runbuild
, thenserve