diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 5d88d2a..adb211b 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,15 +1,19 @@ ## The Issue -- # +- Fixes #REPLACE_ME_WITH_RELATED_ISSUE_NUMBER ## How This PR Solves The Issue + + ## Manual Testing Instructions + + ```bash -ddev add-on get https://github.com///tarball/ +ddev add-on get https://github.com/ddev/ddev-mongo/tarball/refs/pull/REPLACE_ME_WITH_THIS_PR_NUMBER/head ddev restart ``` diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index df26061..836d412 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,8 +1,10 @@ name: tests on: pull_request: + paths-ignore: + - "**.md" push: - branches: [main] + branches: [ main ] paths-ignore: - "**.md" diff --git a/README.md b/README.md index 2ec26e0..820595a 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ This add-on integrates MongoDB and Mongo Express into your [DDEV](https://ddev.com/) project. -It's based on [MongoDB from Docker Hub](https://hub.docker.com/_/mongo?tab=description), [DDEV custom compose files](https://ddev.readthedocs.io/en/stable/users/extend/custom-compose-files/) and [API Platform tutorial](https://api-platform.com/docs/core/mongodb/#enabling-mongodb-support). +It's based on [MongoDB from Docker Hub](https://hub.docker.com/_/mongo?tab=description), [DDEV custom compose files](https://docs.ddev.com/en/stable/users/extend/custom-compose-files/) and [API Platform tutorial](https://api-platform.com/docs/core/mongodb/#enabling-mongodb-support). ## Installation @@ -25,7 +25,10 @@ After installation, make sure to commit the `.ddev` directory to version control ## Configuration 1. Your project will likely require the [Doctrine MongoDB ODM bundle](https://github.com/doctrine/DoctrineMongoDBBundle) - `ddev composer require doctrine/mongodb-odm-bundle:^4.0.0@beta doctrine/mongodb-odm:^2.0.0@beta` + + ```bash + ddev composer require doctrine/mongodb-odm-bundle doctrine/mongodb-odm + ``` 2. In your application `.env` or other client, set the connection string: diff --git a/install.yaml b/install.yaml index 2243866..8e300b2 100644 --- a/install.yaml +++ b/install.yaml @@ -5,7 +5,7 @@ pre_install_actions: #ddev-description:Create config.mongo.yaml with webimage_extra_packages in it printf '#ddev-generated\nwebimage_extra_packages: ["php${DDEV_PHP_VERSION}-mongodb"]\n' >.ddev/config.mongo.yaml -ddev_version_constraint: ">= v1.24.4" +ddev_version_constraint: '>= v1.24.4' post_install_actions: - |