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 docker-compose file for development environment #42

Merged
merged 2 commits into from
Jan 23, 2024

Conversation

acelaya
Copy link
Contributor

@acelaya acelaya commented Jan 23, 2024

Part of #40

This PR adds a docker-compose config file that will help testing the plugin during development.

It includes a WordPress instance, a MySQL database, and mounts the plugin in the proper location.

It currently requires one initial config step in which we set-up the site's admin user, and the plugin needs to be enabled manually. Luckily, this persistes if the container is stopped and started.

In a follow-up PR, I will add a Makefile that starts this service with make services and/or make dev.

@acelaya acelaya mentioned this pull request Jan 23, 2024
Copy link
Member

@robertknight robertknight left a comment

Choose a reason for hiding this comment

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

LGTM. Can you make sure the README gets updated once the modernization of the dev environment is done.

@acelaya acelaya merged commit 5458d9b into update-ci Jan 23, 2024
6 checks passed
@acelaya acelaya deleted the local-dev-env branch January 23, 2024 11:17
@acelaya acelaya restored the local-dev-env branch January 23, 2024 11:17
@acelaya acelaya deleted the local-dev-env branch January 23, 2024 11:19
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.

None yet

2 participants