Skip to content

Commit 08d9720

Browse files
committed
Apply reviews suggestions.
1 parent 3af8bfa commit 08d9720

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/Deploy.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ React-admin is a framework to build [Single Page Applications](https://developer
1313

1414
**Warning**: If you chose Next.js or Remix, you **have to use a dynamic web server** (e.g. CloudFlare pages, Vercel, etc.).
1515

16-
With the default configuration of React-admin, that you can have using [`create-react-admin`](./CreateReactAdmin.md), you are already configured to run `yarn build` or `npm run build` to compile your application with [`vite`](https://vite.dev).
16+
With the default configuration of React-admin, that you can have using [`create-react-admin`](./CreateReactAdmin.md), you can run `yarn build` or `npm run build` to compile your application with [`vite`](https://vite.dev).
1717

18-
This builds your application in the `dist` directory in application root. Let's have a look to what's in there:
18+
This builds your application in the `dist` directory at the application root. Let's have a look to what's in there:
1919

2020
```tree
2121
dist/
@@ -28,7 +28,7 @@ dist/
2828

2929
As you can see, your app is contained in a single Javascript file, used in a simple `index.html`. To deploy your application, you just need to serve this directory with all URLs handled by `index.html`.
3030

31-
There are multiple easy ways to deploy your app automatically to various hosts which does not require you to setup a web server manually. Some of these are addressed in this page.
31+
There are multiple ways to deploy your app automatically to various hosts which does not require you to setup a web server manually. Some of these are addressed in this page.
3232

3333
## Deploy With GitHub Actions And GitHub Pages
3434

@@ -95,9 +95,9 @@ This workflow will run everytime you push or merge something in the main branch
9595

9696
## Deploy With GitHub Actions to Cloudflare
9797

98-
To deploy to [Cloudflare Pages](https://pages.cloudflare.com/), you will need to have a [Cloudflare](https://www.cloudflare.com/) account. First you will need to retrieve your account ID from Cloudflare, the documentation on how to retrieve it is available on the [Cloudflare documentation](https://developers.cloudflare.com/fundamentals/account/find-account-and-zone-ids/)
98+
To deploy to [Cloudflare Pages](https://pages.cloudflare.com/), you need to have a [Cloudflare](https://www.cloudflare.com/) account. First, retrieve your account ID from Cloudflare, the documentation on how to retrieve it is available on the [Cloudflare documentation](https://developers.cloudflare.com/fundamentals/account/find-account-and-zone-ids/)
9999

100-
Then, you will need to create a new API token from your [Cloudflare Profile page](https://dash.cloudflare.com/profile/api-tokens):
100+
Then, create a new API token from your [Cloudflare Profile page](https://dash.cloudflare.com/profile/api-tokens):
101101
- First click on `Create Token`
102102
- Then on the `Edit Cloudflare Workers` template
103103
- Select your organization inside the `Account Resources`

0 commit comments

Comments
 (0)