Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenRenaux committed Jul 14, 2024
1 parent daec5e1 commit 7bbdd14
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,25 @@ a screenshot.

## How to install

> [!CAUTION]
> To use this bundle, you first need to install and configure [Gotenberg 8.x](https://gotenberg.dev/docs/getting-started/installation).
Install the bundle using composer :

```bash
composer require sensiolabs/gotenberg-bundle
```

If not using Symfony Flex, enable the bundle by adding it to the list of
registered bundles in the ``config/bundles.php`` file of your project:
### With Symfony Flex

If you accept the Symfony Flex recipe during installation, the bundle is registered, the configuration
skeleton file is created, the .env file is updated with `GOTENBERG_DSN` and dockerfile is also created
to get a gotenberg image, you need to configure the ports related to `GOTENBERG_DSN` in your .env file.
You can now adapt the configuration to your needs.

### Without Symfony Flex

> [!CAUTION]
> To use this bundle, you first need to install and configure [Gotenberg 8.x](https://gotenberg.dev/docs/getting-started/installation).
Enable the bundle by adding it to the list of registered bundles in the ``config/bundles.php`` file of your project:

```php
// config/bundles.php
Expand Down

0 comments on commit 7bbdd14

Please sign in to comment.