You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/context-editor/README.md
+19
Original file line number
Diff line number
Diff line change
@@ -62,6 +62,25 @@ npm run build
62
62
63
63
The built files will be available in the `build` directory.
64
64
65
+
## Deploying to Cloudflare Pages
66
+
67
+
The Codebase Context Editor can be easily deployed to Cloudflare Pages. Follow these steps:
68
+
69
+
1. Fork the repository or push your changes to your GitHub account.
70
+
71
+
2. Log in to your Cloudflare account and go to the Pages section.
72
+
73
+
3. Click on "Create a project" and select your repository.
74
+
75
+
4. Configure your build settings:
76
+
- Build command: `npm run build`
77
+
- Build output directory: `build`
78
+
- Root directory: `examples/context-editor`
79
+
80
+
5. Click on "Save and Deploy".
81
+
82
+
Cloudflare Pages will automatically deploy your site and provide you with a URL. It will also automatically redeploy when you push changes to your repository.
0 commit comments