-
-
Notifications
You must be signed in to change notification settings - Fork 5
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 mongo-express command #19
Add mongo-express command #19
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested this PR and confirmed that ddev mongo-express
works, thank you!
|
||
- The php extension (phpX.X-mongodb) is set up in `.ddev/config.mongo.yaml` using `webimage_extra_packages`. If you have an earlier `webimage_extra_packages` in your config.yaml, this will override it. You may want to edit your config.yaml to do what you want and remove the config.mongo.yaml. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you have an earlier
webimage_extra_packages
in your config.yaml, this will override it.
This is not true, webimage_extra_packages
are merged from all configs, this should be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I will remove this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great to me, thanks for all the work on it. I made a couple of minor suggestions, using ddev_version_constraint
etc.
@@ -2,38 +2,58 @@ | |||
|
|||
## What is ddev-mongo? | |||
|
|||
This repository provides Mongo and Mongo Express add-on to [DDEV](https://ddev.readthedocs.io). | |||
This repository provides Mongo and Mongo Express add-on to [DDEV](https://ddev.readthedocs.io/en/stable/). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This repository provides Mongo and Mongo Express add-on to [DDEV](https://ddev.readthedocs.io/en/stable/). | |
This repository is an add-on that provides Mongo and Mongo Express for [DDEV](https://ddev.readthedocs.io/en/stable/). |
- | | ||
#ddev-nodisplay | ||
#ddev-description:Checking DDEV version | ||
(ddev debug capabilities | grep corepack >/dev/null) || (echo "Please upgrade DDEV to v1.23+ to enable launching." && false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rather than this approach, it's easier now to use ddev_version_constraint
in the config.mongo.yaml if there is one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I should have said ddev_version_constraint
in the install.yaml., https://github.com/ddev/ddev-addon-template/blob/main/install.yaml#L85
The Issue
There was no issue: I wanted to add a command to launch Mongo Express in the browser
How This PR Solves The Issue
Add the
mongo-express
commandManual Testing Instructions
Automated Testing Overview
mongo-express command is now tested in test.bats
Related Issue Link(s)
Release/Deployment Notes