Drupal Lite
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