meta: enable prettier for markdown (#5133)

* meta: enable prettier for markdown

* Ignore changelogs

* revert CHANGELOG changes

* More formatting

---------

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
This commit is contained in:
Merlijn Vos 2024-05-02 11:35:55 +02:00 committed by GitHub
parent 2a15ba5128
commit 7d6937300a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
77 changed files with 1565 additions and 895 deletions

View file

@ -4,7 +4,8 @@ This example uses a server-side PHP endpoint to sign uploads to S3.
## Running It
To run this example, make sure you've correctly installed the **repository root**:
To run this example, make sure you've correctly installed the **repository
root**:
```bash
yarn || corepack yarn install
@ -13,14 +14,18 @@ yarn build || corepack yarn build
That will also install the npm dependencies for this example.
This example also uses the AWS PHP SDK.
To install it, [get composer](https://getcomposer.org) and run `composer update` in this folder.
This example also uses the AWS PHP SDK. To install it,
[get composer](https://getcomposer.org) and run `composer update` in this
folder.
```bash
corepack yarn workspace @uppy-example/aws-php exec "composer update"
```
Configure AWS S3 credentials using [environment variables](https://docs.aws.amazon.com/aws-sdk-php/v3/guide/guide/credentials.html#environment-credentials) or a [credentials file in `~/.aws/credentials`](https://docs.aws.amazon.com/aws-sdk-php/v3/guide/guide/credentials.html#credential-profiles).
Configure AWS S3 credentials using
[environment variables](https://docs.aws.amazon.com/aws-sdk-php/v3/guide/guide/credentials.html#environment-credentials)
or a
[credentials file in `~/.aws/credentials`](https://docs.aws.amazon.com/aws-sdk-php/v3/guide/guide/credentials.html#credential-profiles).
Configure a bucket name and region in the `s3-sign.php` file.
Then, again in the **repository root**, start this example by doing:
@ -31,7 +36,9 @@ corepack yarn workspace @uppy-example/aws-php start
The demo should now be available at http://localhost:8080.
You can use a different S3-compatible service like GCS by configuring that service in `~/.aws/config` and `~/.aws/credentials`, and then providing appropriate environment variables:
You can use a different S3-compatible service like GCS by configuring that
service in `~/.aws/config` and `~/.aws/credentials`, and then providing
appropriate environment variables:
```bash
AWS_PROFILE="gcs" \