Skip to content

Conversation

@SteelWagstaff
Copy link
Member

@SteelWagstaff SteelWagstaff commented Sep 26, 2025

This PR simplifies the installation process by automatically importing the sample DB and tests as part of the build step. It also updates the readme. Addresses pressbooks/pressbooks.org#141 along with pressbooks/pressbooks.org#143

database:
type: mariadb:10.5.23
portforward: 32778
creds:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

create database with credentials matching those now provided in .env.example

.lando.yml Outdated
- scripts/pressbooks_required_libraries.sh
build:
- composer install
run_as_root:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perform database import and install tests after build process completes.

description: Run tests by filter
cmd:
- appserver: composer run filter_test
db-import-custom:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add new command for performing custom database import. Can remove after lando/core#384 is released

- user: wordpress
- password: wordpress
- database: wordpress
- user: pressbooks_oss_user
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update values to match new defaults

@SteelWagstaff SteelWagstaff changed the title Chore: update config chore: update config Sep 26, 2025
@arzola arzola merged commit 4cabfd2 into dev Sep 26, 2025
@SteelWagstaff SteelWagstaff deleted the chore/update-config branch September 26, 2025 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants