Skip to content

Commit 6473145

Browse files
remove getting started info from README and redirect to official docs
1 parent 612f3f7 commit 6473145

File tree

1 file changed

+1
-61
lines changed

1 file changed

+1
-61
lines changed

packages/cloudflare/README.md

Lines changed: 1 addition & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -6,67 +6,7 @@ Deploy Next.js apps to Cloudflare!
66

77
## Get started
88

9-
You can use [`create-next-app`](https://nextjs.org/docs/pages/api-reference/cli/create-next-app) to start a new application or take an existing Next.js application and deploy it to Cloudflare using the following few steps:
10-
11-
## Configure your app
12-
13-
- add the following `devDependencies` to the `package.json`:
14-
15-
```bash
16-
npm add -D wrangler@latest @opennextjs/cloudflare
17-
# or
18-
pnpm add -D wrangler@latest @opennextjs/cloudflare
19-
# or
20-
yarn add -D wrangler@latest @opennextjs/cloudflare
21-
# or
22-
bun add -D wrangler@latest @opennextjs/cloudflare
23-
```
24-
25-
- add a `wrangler.json` at the root of your project
26-
27-
```json
28-
{
29-
"$schema": "node_modules/wrangler/config-schema.json",
30-
"main": ".open-next/worker.js",
31-
"name": "<your-app-name>",
32-
"compatibility_date": "2024-12-30",
33-
"compatibility_flags": ["nodejs_compat"],
34-
"assets": {
35-
"directory": ".open-next/assets",
36-
"binding": "ASSETS"
37-
}
38-
}
39-
```
40-
41-
- add a `open-next.config.ts` at the root of your project:
42-
43-
```ts
44-
import type { OpenNextConfig } from "open-next/types/open-next";
45-
46-
const config: OpenNextConfig = {
47-
default: {
48-
override: {
49-
wrapper: "cloudflare-node",
50-
converter: "edge",
51-
// Unused implementation
52-
incrementalCache: "dummy",
53-
tagCache: "dummy",
54-
queue: "dummy",
55-
},
56-
},
57-
58-
middleware: {
59-
external: true,
60-
override: {
61-
wrapper: "cloudflare-edge",
62-
converter: "edge",
63-
proxyExternalRequest: "fetch",
64-
},
65-
},
66-
};
67-
68-
export default config;
69-
```
9+
To get started with the adapter visit the [official get started documentation](https://opennext.js.org/cloudflare/get-started).
7010

7111
## Known issues
7212

0 commit comments

Comments
 (0)