Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a local WP environment for developing the packages #15

Merged
merged 1 commit into from
May 29, 2024

Conversation

jdamner
Copy link
Collaborator

@jdamner jdamner commented May 29, 2024

Sets up a local WordPress environment for running your packages in during development.

  • Uses the WordPress docker image to provide WordPress
  • Uses an SQLite database to avoid needing to setup a whole DB server etc.
  • Mounts packages in to /wp-content/plugins so that you can enable/disable the packages as you work on them.
  • Adds a bin/create-package command to allow quickly creating a new package.
  • A few misc tidy-ups to support the WP environment

@jdamner jdamner marked this pull request as draft May 29, 2024 07:45
@jdamner jdamner force-pushed the local-wp-environment branch 3 times, most recently from b321ed3 to 0d0d702 Compare May 29, 2024 10:17
@jdamner jdamner marked this pull request as ready for review May 29, 2024 10:19
Copy link
Member

@Ritchbox Ritchbox left a comment

Choose a reason for hiding this comment

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

Love it

@jdamner jdamner merged commit d2ea92f into main May 29, 2024
8 checks passed
@jdamner jdamner deleted the local-wp-environment branch May 29, 2024 12:08
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.

2 participants