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: README.md
+89-73Lines changed: 89 additions & 73 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,25 +128,24 @@ Before starting deployment, please ensure you have prepared the following:
128
128
-[ ] If using R2: Activate **Cloudflare R2** service and create a bucket (requires payment method)
129
129
-[ ] If using Vercel: Register for a [Vercel](https://vercel.com) account
130
130
-[ ] Configuration information for other S3 storage services:
131
-
-`S3_ACCESS_KEY_ID`
132
-
-`S3_SECRET_ACCESS_KEY`
133
-
-`S3_BUCKET_NAME`
134
-
-`S3_ENDPOINT`
131
+
-`S3_ACCESS_KEY_ID`
132
+
-`S3_SECRET_ACCESS_KEY`
133
+
-`S3_BUCKET_NAME`
134
+
-`S3_ENDPOINT`
135
135
136
136
**The following tutorial may be outdated. For specific details, refer to: [Cloudpaste Online Deployment Documentation](https://doc.cloudpaste.qzz.io)**
@@ -201,10 +200,10 @@ Deployment is automatically triggered whenever files in the `frontend` directory
201
200
3. Click "Settings" → "Environment variables"
202
201
4. Add environment variable:
203
202
204
-
- Name: `VITE_BACKEND_URL`
205
-
- Value: Your backend Worker URL (e.g., `https://cloudpaste-backend.your-username.workers.dev`) without trailing "/". It is recommended to use a custom worker backend domain.
203
+
- Name: `VITE_BACKEND_URL`
204
+
- Value: Your backend Worker URL (e.g., `https://cloudpaste-backend.your-username.workers.dev`) without trailing "/". It is recommended to use a custom worker backend domain.
206
205
207
-
-**<spanstyle="color:red">Make sure to enter the complete backend domain name in "https://xxxx.com" format</span>**
206
+
-**<spanstyle="color:red">Make sure to enter the complete backend domain name in "https://xxxx.com" format</span>**
208
207
209
208
5. Important step: Then run the frontend workflow again to complete loading the backend domain!!!
210
209
@@ -328,12 +327,12 @@ cd CloudPaste/backend
328
327
329
328
**Method 2**: Via Cloudflare Dashboard
330
329
331
-
1. Log in to [Cloudflare Dashboard](https://dash.cloudflare.com/)
332
-
2. Select "Pages"
333
-
3. Click "Create a project" → "Direct Upload"
334
-
4. Upload files from the `dist` directory
335
-
5. Set project name (e.g., "cloudpaste-frontend")
336
-
6. Click "Save and Deploy"
330
+
1. Log in to [Cloudflare Dashboard](https://dash.cloudflare.com/)
331
+
2. Select "Pages"
332
+
3. Click "Create a project" → "Direct Upload"
333
+
4. Upload files from the `dist` directory
334
+
5. Set project name (e.g., "cloudpaste-frontend")
335
+
6. Click "Save and Deploy"
337
336
338
337
#### Vercel
339
338
@@ -400,8 +399,8 @@ Then the frontend, as shown in the figure (for reference only):
400
399
### 📑 Table of Contents
401
400
402
401
-[Docker Command Line Deployment](#Docker-Command-Line-Deployment)
@@ -762,27 +761,27 @@ Replace <bucketName> with your bucket name. For allowedOrigins in the cross-orig
762
761
763
762
5. **Configure MinIO in CloudPaste**
764
763
765
-
- Log in to CloudPaste admin panel
766
-
- Go to "S3 Storage Settings" → "Add Storage Configuration"
767
-
- Select "Other S3-compatible service" as provider
768
-
- Enter details:
769
-
- Name: Custom name
770
-
- Endpoint URL: MinIO service URL (e.g., `https://minio.example.com`)
771
-
- Bucket Name: Pre-created bucket
772
-
- Access Key ID: Your Access Key
773
-
- Secret Key: Your Secret Key
774
-
- Region: Leave empty
775
-
- Path-Style Access: MUST ENABLE!
776
-
- Click "Test Connection" to verify
777
-
- Save settings
764
+
- Log in to CloudPaste admin panel
765
+
- Go to "S3 Storage Settings" → "Add Storage Configuration"
766
+
- Select "Other S3-compatible service" as provider
767
+
- Enter details:
768
+
- Name: Custom name
769
+
- Endpoint URL: MinIO service URL (e.g., `https://minio.example.com`)
770
+
- Bucket Name: Pre-created bucket
771
+
- Access Key ID: Your Access Key
772
+
- Secret Key: Your Secret Key
773
+
- Region: Leave empty
774
+
- Path-Style Access: MUST ENABLE!
775
+
- Click "Test Connection" to verify
776
+
- Save settings
778
777
779
778
6. **Troubleshooting**
780
779
781
-
- **Note**: If using Cloudflare's CDN, you may need to add `proxy_set_header Accept-Encoding "identity"`, and there are caching issues to consider. It is recommended to use only DNS resolution.
- **Preview Issues**: Verify `MINIO_SERVER_URL` & `MINIO_BROWSER_REDIRECT_URL` are correctly set
784
-
- **Upload Failures**: Check CORS settings; allowed origins must include frontend domain
785
-
- **Console Unreachable**: Verify WebSocket config, especially `Connection "upgrade"`
780
+
- **Note**: If using Cloudflare's CDN, you may need to add `proxy_set_header Accept-Encoding "identity"`, and there are caching issues to consider. It is recommended to use only DNS resolution.
├── Api-s3_direct.md # S3 direct upload API documentation
984
+
└── README.md # Project documentation
967
985
```
968
986
969
987
### Custom Docker Build
@@ -1044,20 +1062,18 @@ Apache License 2.0
1044
1062
This project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details.
1045
1063
1046
1064
## ❤️ Contribution
1047
-
-**Sponsorship**: Maintaining a project is not easy. If you like this project, consider giving the author a little encouragement. Every bit of your support is my motivation to keep going~
1065
+
-**Sponsorship**: Maintaining the project is not easy. If you like this project, you can give the author a little encouragement. Every bit of your support is the motivation for me to move forward~
[](https://star-history.com/#ling-drag0n/CloudPaste&Date)
1062
-
1063
1079
**If you think the project is good I hope you can give a free star✨✨, Thank you very much!**
0 commit comments