mirror of
https://github.com/cdr/code-server.git
synced 2025-12-07 17:02:27 +01:00
Checkpoint before follow-up message
Co-authored-by: fekofal332 <fekofal332@reaxu.com>
This commit is contained in:
parent
41f36478f6
commit
2022839648
1 changed files with 42 additions and 0 deletions
42
cursor-fullstack/cloudflare/create-wrangler-token.md
Normal file
42
cursor-fullstack/cloudflare/create-wrangler-token.md
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
# 🔑 إنشاء توكن مخصص لـ wrangler
|
||||
|
||||
## 📋 **الخطوات:**
|
||||
|
||||
### **1. اذهب إلى Cloudflare Dashboard:**
|
||||
- [https://dash.cloudflare.com/profile/api-tokens](https://dash.cloudflare.com/profile/api-tokens)
|
||||
|
||||
### **2. اضغط "Create Token"**
|
||||
|
||||
### **3. اختر "Custom token"**
|
||||
|
||||
### **4. أضف هذه الصلاحيات:**
|
||||
```
|
||||
Account:Read
|
||||
Zone:Read
|
||||
Cloudflare Workers:Edit
|
||||
Cloudflare KV Storage:Edit
|
||||
Cloudflare Pages:Edit
|
||||
Cloudflare R2:Edit
|
||||
```
|
||||
|
||||
### **5. اختر الحساب:**
|
||||
```
|
||||
Thailand.2528hho@gmail.com's Account
|
||||
```
|
||||
|
||||
### **6. أضف هذه الموارد:**
|
||||
```
|
||||
Account:Thailand.2528hho@gmail.com's Account
|
||||
Zone:All zones
|
||||
```
|
||||
|
||||
### **7. احفظ التوكن الجديد**
|
||||
|
||||
## 🚀 **استخدام التوكن الجديد:**
|
||||
|
||||
```bash
|
||||
export CLOUDFLARE_API_TOKEN=your_new_token_here
|
||||
wrangler whoami
|
||||
wrangler deploy
|
||||
wrangler pages deploy dist --project-name cursor-ide
|
||||
```
|
||||
Loading…
Reference in a new issue