Skip to content

Commit

Permalink
Added information on the deployment docs that links to resources for …
Browse files Browse the repository at this point in the history
…reducing deployment size when using aws/google dependencies
  • Loading branch information
danniehansen committed Nov 2, 2023
1 parent c00e20a commit 5edc904
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/deploy.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ Instead, let's remove development dependencies and optimize Composer's autoloade
composer install --prefer-dist --optimize-autoloader --no-dev
```

<Callout>
Using [aws/aws-sdk-php](https://github.com/aws/aws-sdk-php/tree/master/src/Script/Composer) or [google/apiclient](https://github.com/googleapis/google-api-php-client#cleaning-up-unused-services)? See the links for reducing deployment size by removing unused services
</Callout>

Now is also the best time to configure your project for production, as well as build any file cache if necessary.

Once your project is ready, you can deploy via the following command:
Expand Down

0 comments on commit 5edc904

Please sign in to comment.