Skip to content

Makefile command for seeding a db instead of install #41

@johndwells

Description

@johndwells

At a minimum something like this:

install: up build
  ddev exec php craft setup/app-id \
    $(filter-out $@,$(MAKECMDGOALS))
  ddev exec php craft setup/security-key \
    $(filter-out $@,$(MAKECMDGOALS))
  ddev import-db --src=seed.sql
  ddev exec php craft up

But it might be cool to modify install to accept a flag? e.g. install --seed=snapshot.sql

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions