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: config/.augment-guidelines
+36Lines changed: 36 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -427,6 +427,42 @@ If development is found to not comply with standards, can:
427
427
428
428
After creating/deploying resources, provide corresponding console management page links. All console URLs follow the pattern: `https://tcb.cloud.tencent.com/dev?envId=${envId}#/{path}`
429
429
430
+
431
+
## Deployment Workflow
432
+
433
+
When users request deployment to CloudBase:
434
+
435
+
0. **Check Existing Deployment**:
436
+
- Read README.md to check for existing deployment information
437
+
- Identify previously deployed services and their URLs
438
+
- Determine if this is a new deployment or update to existing services
439
+
440
+
1. **Backend Deployment (if applicable)**:
441
+
- Only for nodejs cloud functions: deploy directly using `createFunction` tools
442
+
- Criteria: function directory contains `index.js` with cloud function format export: `exports.main = async (event, context) => {}`
443
+
- For other languages backend server (Java, Go, PHP, Python, Node.js): deploy to Cloud Run
444
+
- Ensure backend code supports CORS by default
445
+
- Prepare Dockerfile for containerized deployment
446
+
- Use `manageCloudRun` tool for deployment
447
+
- Set MinNum instances to at least 1 to reduce cold start latency
448
+
449
+
2. **Frontend Deployment (if applicable)**:
450
+
- After backend deployment completes, update frontend API endpoints using the returned API addresses
451
+
- Build the frontend application
452
+
- Deploy to CloudBase static hosting using hosting tools
453
+
454
+
3. **Display Deployment URLs**:
455
+
- Show backend deployment URL (if applicable)
456
+
- Show frontend deployment URL with trailing slash (/) in path
457
+
- Add random query string to frontend URL to ensure CDN cache refresh
458
+
459
+
4. **Update Documentation**:
460
+
- Write deployment information and service details to README.md
461
+
- Include backend API endpoints and frontend access URLs
Copy file name to clipboardExpand all lines: config/.clinerules/cloudbase-rules.mdc
+36Lines changed: 36 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -427,6 +427,42 @@ If development is found to not comply with standards, can:
427
427
428
428
After creating/deploying resources, provide corresponding console management page links. All console URLs follow the pattern: `https://tcb.cloud.tencent.com/dev?envId=${envId}#/{path}`
429
429
430
+
431
+
## Deployment Workflow
432
+
433
+
When users request deployment to CloudBase:
434
+
435
+
0. **Check Existing Deployment**:
436
+
- Read README.md to check for existing deployment information
437
+
- Identify previously deployed services and their URLs
438
+
- Determine if this is a new deployment or update to existing services
439
+
440
+
1. **Backend Deployment (if applicable)**:
441
+
- Only for nodejs cloud functions: deploy directly using `createFunction` tools
442
+
- Criteria: function directory contains `index.js` with cloud function format export: `exports.main = async (event, context) => {}`
443
+
- For other languages backend server (Java, Go, PHP, Python, Node.js): deploy to Cloud Run
444
+
- Ensure backend code supports CORS by default
445
+
- Prepare Dockerfile for containerized deployment
446
+
- Use `manageCloudRun` tool for deployment
447
+
- Set MinNum instances to at least 1 to reduce cold start latency
448
+
449
+
2. **Frontend Deployment (if applicable)**:
450
+
- After backend deployment completes, update frontend API endpoints using the returned API addresses
451
+
- Build the frontend application
452
+
- Deploy to CloudBase static hosting using hosting tools
453
+
454
+
3. **Display Deployment URLs**:
455
+
- Show backend deployment URL (if applicable)
456
+
- Show frontend deployment URL with trailing slash (/) in path
457
+
- Add random query string to frontend URL to ensure CDN cache refresh
458
+
459
+
4. **Update Documentation**:
460
+
- Write deployment information and service details to README.md
461
+
- Include backend API endpoints and frontend access URLs
Copy file name to clipboardExpand all lines: config/.comate/rules/cloudbase-rules.mdr
+36Lines changed: 36 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -427,6 +427,42 @@ If development is found to not comply with standards, can:
427
427
428
428
After creating/deploying resources, provide corresponding console management page links. All console URLs follow the pattern: `https://tcb.cloud.tencent.com/dev?envId=${envId}#/{path}`
429
429
430
+
431
+
## Deployment Workflow
432
+
433
+
When users request deployment to CloudBase:
434
+
435
+
0. **Check Existing Deployment**:
436
+
- Read README.md to check for existing deployment information
437
+
- Identify previously deployed services and their URLs
438
+
- Determine if this is a new deployment or update to existing services
439
+
440
+
1. **Backend Deployment (if applicable)**:
441
+
- Only for nodejs cloud functions: deploy directly using `createFunction` tools
442
+
- Criteria: function directory contains `index.js` with cloud function format export: `exports.main = async (event, context) => {}`
443
+
- For other languages backend server (Java, Go, PHP, Python, Node.js): deploy to Cloud Run
444
+
- Ensure backend code supports CORS by default
445
+
- Prepare Dockerfile for containerized deployment
446
+
- Use `manageCloudRun` tool for deployment
447
+
- Set MinNum instances to at least 1 to reduce cold start latency
448
+
449
+
2. **Frontend Deployment (if applicable)**:
450
+
- After backend deployment completes, update frontend API endpoints using the returned API addresses
451
+
- Build the frontend application
452
+
- Deploy to CloudBase static hosting using hosting tools
453
+
454
+
3. **Display Deployment URLs**:
455
+
- Show backend deployment URL (if applicable)
456
+
- Show frontend deployment URL with trailing slash (/) in path
457
+
- Add random query string to frontend URL to ensure CDN cache refresh
458
+
459
+
4. **Update Documentation**:
460
+
- Write deployment information and service details to README.md
461
+
- Include backend API endpoints and frontend access URLs
Copy file name to clipboardExpand all lines: config/.cursor/rules/cloudbase-rules.mdc
+36Lines changed: 36 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -427,6 +427,42 @@ If development is found to not comply with standards, can:
427
427
428
428
After creating/deploying resources, provide corresponding console management page links. All console URLs follow the pattern: `https://tcb.cloud.tencent.com/dev?envId=${envId}#/{path}`
429
429
430
+
431
+
## Deployment Workflow
432
+
433
+
When users request deployment to CloudBase:
434
+
435
+
0. **Check Existing Deployment**:
436
+
- Read README.md to check for existing deployment information
437
+
- Identify previously deployed services and their URLs
438
+
- Determine if this is a new deployment or update to existing services
439
+
440
+
1. **Backend Deployment (if applicable)**:
441
+
- Only for nodejs cloud functions: deploy directly using `createFunction` tools
442
+
- Criteria: function directory contains `index.js` with cloud function format export: `exports.main = async (event, context) => {}`
443
+
- For other languages backend server (Java, Go, PHP, Python, Node.js): deploy to Cloud Run
444
+
- Ensure backend code supports CORS by default
445
+
- Prepare Dockerfile for containerized deployment
446
+
- Use `manageCloudRun` tool for deployment
447
+
- Set MinNum instances to at least 1 to reduce cold start latency
448
+
449
+
2. **Frontend Deployment (if applicable)**:
450
+
- After backend deployment completes, update frontend API endpoints using the returned API addresses
451
+
- Build the frontend application
452
+
- Deploy to CloudBase static hosting using hosting tools
453
+
454
+
3. **Display Deployment URLs**:
455
+
- Show backend deployment URL (if applicable)
456
+
- Show frontend deployment URL with trailing slash (/) in path
457
+
- Add random query string to frontend URL to ensure CDN cache refresh
458
+
459
+
4. **Update Documentation**:
460
+
- Write deployment information and service details to README.md
461
+
- Include backend API endpoints and frontend access URLs
Copy file name to clipboardExpand all lines: config/.gemini/GEMINI.md
+36Lines changed: 36 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -427,6 +427,42 @@ If development is found to not comply with standards, can:
427
427
428
428
After creating/deploying resources, provide corresponding console management page links. All console URLs follow the pattern: `https://tcb.cloud.tencent.com/dev?envId=${envId}#/{path}`
429
429
430
+
431
+
## Deployment Workflow
432
+
433
+
When users request deployment to CloudBase:
434
+
435
+
0.**Check Existing Deployment**:
436
+
- Read README.md to check for existing deployment information
437
+
- Identify previously deployed services and their URLs
438
+
- Determine if this is a new deployment or update to existing services
439
+
440
+
1.**Backend Deployment (if applicable)**:
441
+
- Only for nodejs cloud functions: deploy directly using `createFunction` tools
442
+
- Criteria: function directory contains `index.js` with cloud function format export: `exports.main = async (event, context) => {}`
443
+
- For other languages backend server (Java, Go, PHP, Python, Node.js): deploy to Cloud Run
444
+
- Ensure backend code supports CORS by default
445
+
- Prepare Dockerfile for containerized deployment
446
+
- Use `manageCloudRun` tool for deployment
447
+
- Set MinNum instances to at least 1 to reduce cold start latency
448
+
449
+
2.**Frontend Deployment (if applicable)**:
450
+
- After backend deployment completes, update frontend API endpoints using the returned API addresses
451
+
- Build the frontend application
452
+
- Deploy to CloudBase static hosting using hosting tools
453
+
454
+
3.**Display Deployment URLs**:
455
+
- Show backend deployment URL (if applicable)
456
+
- Show frontend deployment URL with trailing slash (/) in path
457
+
- Add random query string to frontend URL to ensure CDN cache refresh
458
+
459
+
4.**Update Documentation**:
460
+
- Write deployment information and service details to README.md
461
+
- Include backend API endpoints and frontend access URLs
Copy file name to clipboardExpand all lines: config/.github/copilot-instructions.md
+36Lines changed: 36 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -427,6 +427,42 @@ If development is found to not comply with standards, can:
427
427
428
428
After creating/deploying resources, provide corresponding console management page links. All console URLs follow the pattern: `https://tcb.cloud.tencent.com/dev?envId=${envId}#/{path}`
429
429
430
+
431
+
## Deployment Workflow
432
+
433
+
When users request deployment to CloudBase:
434
+
435
+
0.**Check Existing Deployment**:
436
+
- Read README.md to check for existing deployment information
437
+
- Identify previously deployed services and their URLs
438
+
- Determine if this is a new deployment or update to existing services
439
+
440
+
1.**Backend Deployment (if applicable)**:
441
+
- Only for nodejs cloud functions: deploy directly using `createFunction` tools
442
+
- Criteria: function directory contains `index.js` with cloud function format export: `exports.main = async (event, context) => {}`
443
+
- For other languages backend server (Java, Go, PHP, Python, Node.js): deploy to Cloud Run
444
+
- Ensure backend code supports CORS by default
445
+
- Prepare Dockerfile for containerized deployment
446
+
- Use `manageCloudRun` tool for deployment
447
+
- Set MinNum instances to at least 1 to reduce cold start latency
448
+
449
+
2.**Frontend Deployment (if applicable)**:
450
+
- After backend deployment completes, update frontend API endpoints using the returned API addresses
451
+
- Build the frontend application
452
+
- Deploy to CloudBase static hosting using hosting tools
453
+
454
+
3.**Display Deployment URLs**:
455
+
- Show backend deployment URL (if applicable)
456
+
- Show frontend deployment URL with trailing slash (/) in path
457
+
- Add random query string to frontend URL to ensure CDN cache refresh
458
+
459
+
4.**Update Documentation**:
460
+
- Write deployment information and service details to README.md
461
+
- Include backend API endpoints and frontend access URLs
Copy file name to clipboardExpand all lines: config/.lingma/rules/cloudbaase-rules.md
+36Lines changed: 36 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -427,6 +427,42 @@ If development is found to not comply with standards, can:
427
427
428
428
After creating/deploying resources, provide corresponding console management page links. All console URLs follow the pattern: `https://tcb.cloud.tencent.com/dev?envId=${envId}#/{path}`
429
429
430
+
431
+
## Deployment Workflow
432
+
433
+
When users request deployment to CloudBase:
434
+
435
+
0.**Check Existing Deployment**:
436
+
- Read README.md to check for existing deployment information
437
+
- Identify previously deployed services and their URLs
438
+
- Determine if this is a new deployment or update to existing services
439
+
440
+
1.**Backend Deployment (if applicable)**:
441
+
- Only for nodejs cloud functions: deploy directly using `createFunction` tools
442
+
- Criteria: function directory contains `index.js` with cloud function format export: `exports.main = async (event, context) => {}`
443
+
- For other languages backend server (Java, Go, PHP, Python, Node.js): deploy to Cloud Run
444
+
- Ensure backend code supports CORS by default
445
+
- Prepare Dockerfile for containerized deployment
446
+
- Use `manageCloudRun` tool for deployment
447
+
- Set MinNum instances to at least 1 to reduce cold start latency
448
+
449
+
2.**Frontend Deployment (if applicable)**:
450
+
- After backend deployment completes, update frontend API endpoints using the returned API addresses
451
+
- Build the frontend application
452
+
- Deploy to CloudBase static hosting using hosting tools
453
+
454
+
3.**Display Deployment URLs**:
455
+
- Show backend deployment URL (if applicable)
456
+
- Show frontend deployment URL with trailing slash (/) in path
457
+
- Add random query string to frontend URL to ensure CDN cache refresh
458
+
459
+
4.**Update Documentation**:
460
+
- Write deployment information and service details to README.md
461
+
- Include backend API endpoints and frontend access URLs
Copy file name to clipboardExpand all lines: config/.qoder/rules/cloudbase-rules.md
+36Lines changed: 36 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -427,6 +427,42 @@ If development is found to not comply with standards, can:
427
427
428
428
After creating/deploying resources, provide corresponding console management page links. All console URLs follow the pattern: `https://tcb.cloud.tencent.com/dev?envId=${envId}#/{path}`
429
429
430
+
431
+
## Deployment Workflow
432
+
433
+
When users request deployment to CloudBase:
434
+
435
+
0.**Check Existing Deployment**:
436
+
- Read README.md to check for existing deployment information
437
+
- Identify previously deployed services and their URLs
438
+
- Determine if this is a new deployment or update to existing services
439
+
440
+
1.**Backend Deployment (if applicable)**:
441
+
- Only for nodejs cloud functions: deploy directly using `createFunction` tools
442
+
- Criteria: function directory contains `index.js` with cloud function format export: `exports.main = async (event, context) => {}`
443
+
- For other languages backend server (Java, Go, PHP, Python, Node.js): deploy to Cloud Run
444
+
- Ensure backend code supports CORS by default
445
+
- Prepare Dockerfile for containerized deployment
446
+
- Use `manageCloudRun` tool for deployment
447
+
- Set MinNum instances to at least 1 to reduce cold start latency
448
+
449
+
2.**Frontend Deployment (if applicable)**:
450
+
- After backend deployment completes, update frontend API endpoints using the returned API addresses
451
+
- Build the frontend application
452
+
- Deploy to CloudBase static hosting using hosting tools
453
+
454
+
3.**Display Deployment URLs**:
455
+
- Show backend deployment URL (if applicable)
456
+
- Show frontend deployment URL with trailing slash (/) in path
457
+
- Add random query string to frontend URL to ensure CDN cache refresh
458
+
459
+
4.**Update Documentation**:
460
+
- Write deployment information and service details to README.md
461
+
- Include backend API endpoints and frontend access URLs
Copy file name to clipboardExpand all lines: config/.qwen/QWEN.md
+36Lines changed: 36 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -427,6 +427,42 @@ If development is found to not comply with standards, can:
427
427
428
428
After creating/deploying resources, provide corresponding console management page links. All console URLs follow the pattern: `https://tcb.cloud.tencent.com/dev?envId=${envId}#/{path}`
429
429
430
+
431
+
## Deployment Workflow
432
+
433
+
When users request deployment to CloudBase:
434
+
435
+
0.**Check Existing Deployment**:
436
+
- Read README.md to check for existing deployment information
437
+
- Identify previously deployed services and their URLs
438
+
- Determine if this is a new deployment or update to existing services
439
+
440
+
1.**Backend Deployment (if applicable)**:
441
+
- Only for nodejs cloud functions: deploy directly using `createFunction` tools
442
+
- Criteria: function directory contains `index.js` with cloud function format export: `exports.main = async (event, context) => {}`
443
+
- For other languages backend server (Java, Go, PHP, Python, Node.js): deploy to Cloud Run
444
+
- Ensure backend code supports CORS by default
445
+
- Prepare Dockerfile for containerized deployment
446
+
- Use `manageCloudRun` tool for deployment
447
+
- Set MinNum instances to at least 1 to reduce cold start latency
448
+
449
+
2.**Frontend Deployment (if applicable)**:
450
+
- After backend deployment completes, update frontend API endpoints using the returned API addresses
451
+
- Build the frontend application
452
+
- Deploy to CloudBase static hosting using hosting tools
453
+
454
+
3.**Display Deployment URLs**:
455
+
- Show backend deployment URL (if applicable)
456
+
- Show frontend deployment URL with trailing slash (/) in path
457
+
- Add random query string to frontend URL to ensure CDN cache refresh
458
+
459
+
4.**Update Documentation**:
460
+
- Write deployment information and service details to README.md
461
+
- Include backend API endpoints and frontend access URLs
0 commit comments