Support local working Drupal installation

Created on 9 January 2025, 4 months ago

Problem/Motivation

Currently the local drupal installation is only really usable by PHPUnit tests.

It would be awesome to also have an easy way to setup the existing Drupal installation via sqlite that is fully functional, meaning being able to access it via the browser to test the module manually.

Proposed resolution

Manually the Drupal installation can already be installed and accessed:

# Make sqlite available
nix shell 'nixpkgs#sqlite'

# Install drupal
drush site:install --db-url=sqlite://sites/default/files/.sqlite --account-pass=admin -y

# Run local server
drush runserver

# Generate login url
drush uli --uri http://localhost:8888
Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇦🇹Austria chfoidl Salzburg

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024