Skip to content

Documentation for MongoDB#720

Merged
alanpoulain merged 1 commit into
api-platform:2.4from
alanpoulain:mongodb
Jan 27, 2019
Merged

Documentation for MongoDB#720
alanpoulain merged 1 commit into
api-platform:2.4from
alanpoulain:mongodb

Conversation

@alanpoulain

Copy link
Copy Markdown
Member

No description provided.

Comment thread distribution/index.md Outdated

* an API skeleton, including with [the server-side component](../core/index.md), [the Symfony 4
microframework](https://symfony.com/doc/current/setup/flex.html) and [the Doctrine ORM](http://docs.doctrine-project.org/projects/doctrine-orm/)
microframework](https://symfony.com/doc/current/setup/flex.html), [the Doctrine ORM](http://docs.doctrine-project.org/projects/doctrine-orm/)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We'll not "bloat" the distribution with MongoDB support by default, can you revert this one?

@dunglas dunglas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice one! Can you just change the Docker related part and rebase?

@alanpoulain

Copy link
Copy Markdown
Member Author

I've added what to do manually in order to use MongoDB with the distribution.
As said here by @dunglas: api-platform/api-platform#968 (comment), it would be better to automate this by having a pack when the PR symfony/flex#128 is merged.

@alanpoulain

Copy link
Copy Markdown
Member Author

@vincentchalamon could you review this one please?

Comment thread core/mongodb.md
// api/Dockerfile

...
pecl install \

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
pecl install \
docker-php-ext-install \

Right?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Doesn't seem to be possible:

docker-php-ext-install -j4 intl mongodb pdo_pgsql zip
error: /usr/src/php/ext/mongodb does not exist

It's only available with PECL.

@alanpoulain
alanpoulain merged commit 32d23e3 into api-platform:2.4 Jan 27, 2019
soyuka pushed a commit to soyuka/doc that referenced this pull request Feb 20, 2019
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.

3 participants