Skip to content

Commit 863a3ad

Browse files
authored
Merge pull request #218 from devsapp/gwh/dipper
fix: template readme
2 parents 6274603 + ceef376 commit 863a3ad

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+790
-345
lines changed

web-framework/go/beego/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Edition: 3.0.0
22
Type: Project
33
Name: start-beego-cap
4-
Version: 0.0.6
4+
Version: 0.0.7
55
Provider:
66
- 阿里云
77
Description: 本案例展示了如何将 Beego —— 一款高效的Go语言Web框架,无缝部署至云原生应用开发平台,实现快速构建云原生应用的实践。Beego以其对Go特性的深度整合、简洁的MVC设计模式以及高性能著称,广泛应用于各类Web开发场景中。

web-framework/go/beego/readme.md

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</description>
1111

1212

13-
## 前期准备
13+
## 资源准备
1414

1515
使用该项目,您需要有开通以下服务并拥有对应权限:
1616

@@ -41,7 +41,7 @@
4141

4242
<appcenter>
4343

44-
- :fire: 通过 [云原生应用开发平台 CAP](https://devs.console.aliyun.com/applications/create?template=start-beego-cap)[![Deploy with Severless Devs](https://img.alicdn.com/imgextra/i1/O1CN01w5RFbX1v45s8TIXPz_!!6000000006118-55-tps-95-28.svg)](https://devs.console.aliyun.com/applications/create?template=start-beego-cap) 该应用。
44+
- :fire: 通过 [云原生应用开发平台 CAP](https://cap.console.aliyun.com/template-detail?template=start-beego-cap)[![Deploy with Severless Devs](https://img.alicdn.com/imgextra/i1/O1CN01w5RFbX1v45s8TIXPz_!!6000000006118-55-tps-95-28.svg)](https://cap.console.aliyun.com/template-detail?template=start-beego-cap) 该应用。
4545

4646
</appcenter>
4747
<deploy>
@@ -65,23 +65,35 @@ Beego具有广泛的应用范围。它适用于构建各种类型的Web应用,
6565

6666
</appdetail>
6767

68+
69+
70+
71+
72+
73+
6874
## 使用流程
6975

7076
<usedetail id="flushContent">
7177

7278
### 查看部署的案例
7379

74-
通过本案例,您可以部署一个 Beego 框架 web 应用,效果如下
80+
本项目案例是 Beego 部署到云原生应用开发平台 CAP,部署完成之后,您可以看到系统返回给您的案例地址,例如
7581

76-
![](https://img.alicdn.com/imgextra/i3/O1CN012UO6hK1zErpTfg0vY_!!6000000006683-0-tps-2546-1390.jpg)
82+
![图片alt](https://img.alicdn.com/imgextra/i3/O1CN01UdFyDQ1D6XB9YqkXo_!!6000000000167-0-tps-1331-153.jpg)
7783

78-
### 二次开发
84+
此时,打开案例地址,就可以进入 Beego 默认的首页:
7985

80-
您可以通过云端控制台的开发功能进行二次开发。如果您之前是在本地创建的项目案例,也可以在本地项目目录`start-beego-cap`文件夹下,对项目进行二次开发。开发完成后,可以通过`s deploy`进行快速部署。
86+
![](https://img.alicdn.com/imgextra/i3/O1CN012UO6hK1zErpTfg0vY_!!6000000006683-0-tps-2546-1390.jpg)
8187

8288
</usedetail>
8389

84-
## 注意事项
90+
## 二次开发指南
91+
92+
<development id="flushContent">
93+
</development>
94+
95+
96+
97+
98+
8599

86-
<matters id="flushContent">
87-
</matters>

web-framework/go/beego/src/readme.md

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</description>
1111

1212

13-
## 前期准备
13+
## 资源准备
1414

1515
使用该项目,您需要有开通以下服务并拥有对应权限:
1616

@@ -41,7 +41,7 @@
4141

4242
<appcenter>
4343

44-
- :fire: 通过 [云原生应用开发平台 CAP](https://devs.console.aliyun.com/applications/create?template=start-beego-cap)[![Deploy with Severless Devs](https://img.alicdn.com/imgextra/i1/O1CN01w5RFbX1v45s8TIXPz_!!6000000006118-55-tps-95-28.svg)](https://devs.console.aliyun.com/applications/create?template=start-beego-cap) 该应用。
44+
- :fire: 通过 [云原生应用开发平台 CAP](https://cap.console.aliyun.com/template-detail?template=start-beego-cap)[![Deploy with Severless Devs](https://img.alicdn.com/imgextra/i1/O1CN01w5RFbX1v45s8TIXPz_!!6000000006118-55-tps-95-28.svg)](https://cap.console.aliyun.com/template-detail?template=start-beego-cap) 该应用。
4545

4646
</appcenter>
4747
<deploy>
@@ -65,23 +65,35 @@ Beego具有广泛的应用范围。它适用于构建各种类型的Web应用,
6565

6666
</appdetail>
6767

68+
69+
70+
71+
72+
73+
6874
## 使用流程
6975

7076
<usedetail id="flushContent">
7177

7278
### 查看部署的案例
7379

74-
通过本案例,您可以部署一个 Beego 框架 web 应用,效果如下
80+
本项目案例是 Beego 部署到云原生应用开发平台 CAP,部署完成之后,您可以看到系统返回给您的案例地址,例如
7581

76-
![](https://img.alicdn.com/imgextra/i3/O1CN012UO6hK1zErpTfg0vY_!!6000000006683-0-tps-2546-1390.jpg)
82+
![图片alt](https://img.alicdn.com/imgextra/i3/O1CN01UdFyDQ1D6XB9YqkXo_!!6000000000167-0-tps-1331-153.jpg)
7783

78-
### 二次开发
84+
此时,打开案例地址,就可以进入 Beego 默认的首页:
7985

80-
您可以通过云端控制台的开发功能进行二次开发。如果您之前是在本地创建的项目案例,也可以在本地项目目录`start-beego-cap`文件夹下,对项目进行二次开发。开发完成后,可以通过`s deploy`进行快速部署。
86+
![](https://img.alicdn.com/imgextra/i3/O1CN012UO6hK1zErpTfg0vY_!!6000000006683-0-tps-2546-1390.jpg)
8187

8288
</usedetail>
8389

84-
## 注意事项
90+
## 二次开发指南
91+
92+
<development id="flushContent">
93+
</development>
94+
95+
96+
97+
98+
8599

86-
<matters id="flushContent">
87-
</matters>

web-framework/java/springboot-database/publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ Type: Project
33
Name: start-springboot-database
44
Provider:
55
- 阿里云
6-
Version: 0.0.5
6+
Version: 0.0.6
77
Description: 本案例是Springboot-Database模板,帮助用户拉起Springboot Web的函数服务和MySQL数据库服务,快速搭建一个基于RDS和Springboot的Java Web脚手架应用,并基于此进行二次开发。
8-
HomePage: https://github.com/devsapp/start-web-framework
8+
HomePage: https://github.com/devsapp/start-web-framework/tree/dipper/web-framework/java/springboot-database
99
Organization: 阿里云函数计算(FC)
1010
Effective: Public
1111
Tags:

web-framework/java/springboot-database/readme.md

Lines changed: 25 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
> 注:当前项目为 Serverless Devs 应用,由于应用中会存在需要初始化才可运行的变量(例如应用部署地区、函数名等等),所以**不推荐**直接 Clone 本仓库到本地进行部署或直接复制 s.yaml 使用,**强烈推荐**通过 `s init ${模版名称}` 的方法或应用中心进行初始化,详情可参考[部署 & 体验](#部署--体验)
23
34
# start-springboot-database 帮助文档
@@ -9,19 +10,17 @@
910
</description>
1011

1112

12-
## 前期准备
13+
## 资源准备
1314

1415
使用该项目,您需要有开通以下服务并拥有对应权限:
1516

1617
<service>
1718

1819

1920

20-
| 服务/业务 | 权限 | 相关文档 |
21-
|----------| --- | --- |
22-
| 函数计算 | AliyunFCFullAccess | [帮助文档](https://help.aliyun.com/product/2508973.html) [计费文档](https://help.aliyun.com/document_detail/2512928.html) |
23-
| 日志服务 | AliyunFCServerlessDevsRolePolicy | [帮助文档](https://help.aliyun.com/zh/sls) [计费文档](https://help.aliyun.com/zh/sls/product-overview/billing) |
24-
| 云数据库 RDS | AliyunRDSFullAccess | [帮助文档](https://help.aliyun.com/zh/rds) [计费文档](https://help.aliyun.com/zh/rds/billing-1/) |
21+
| 服务/业务 | 权限 | 相关文档 |
22+
| --- | --- | --- |
23+
| 函数计算 | AliyunFCFullAccess | [帮助文档](https://help.aliyun.com/product/2508973.html) [计费文档](https://help.aliyun.com/document_detail/2512928.html) |
2524

2625
</service>
2726

@@ -40,13 +39,13 @@
4039
## 部署 & 体验
4140

4241
<appcenter>
43-
44-
- :fire: 通过 [云原生应用开发平台 CAP](https://devs.console.aliyun.com/applications/create?template=start-springboot-cap)[![Deploy with Severless Devs](https://img.alicdn.com/imgextra/i1/O1CN01w5RFbX1v45s8TIXPz_!!6000000006118-55-tps-95-28.svg)](https://devs.console.aliyun.com/applications/create?template=start-springboot-cap) 该应用。
45-
42+
43+
- :fire: 通过 [云原生应用开发平台 CAP](https://cap.console.aliyun.com/template-detail?template=start-springboot-database)[![Deploy with Severless Devs](https://img.alicdn.com/imgextra/i1/O1CN01w5RFbX1v45s8TIXPz_!!6000000006118-55-tps-95-28.svg)](https://cap.console.aliyun.com/template-detail?template=start-springboot-database) 该应用。
44+
4645
</appcenter>
4746
<deploy>
48-
49-
47+
48+
5049
</deploy>
5150

5251
## 案例介绍
@@ -67,6 +66,12 @@ Spring Boot适用的场景也非常广泛,如:Web应用程序开发、微服
6766

6867
</appdetail>
6968

69+
70+
71+
72+
73+
74+
7075
## 使用流程
7176

7277
<usedetail id="flushContent">
@@ -81,7 +86,13 @@ Spring Boot适用的场景也非常广泛,如:Web应用程序开发、微服
8186

8287
</usedetail>
8388

84-
## 注意事项
89+
## 二次开发指南
90+
91+
<development id="flushContent">
92+
</development>
93+
94+
95+
96+
97+
8598

86-
<matters id="flushContent">
87-
</matters>
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
2+
> 注:当前项目为 Serverless Devs 应用,由于应用中会存在需要初始化才可运行的变量(例如应用部署地区、函数名等等),所以**不推荐**直接 Clone 本仓库到本地进行部署或直接复制 s.yaml 使用,**强烈推荐**通过 `s init ${模版名称}` 的方法或应用中心进行初始化,详情可参考[部署 & 体验](#部署--体验)
3+
4+
# start-springboot-database 帮助文档
5+
6+
<description>
7+
8+
本案例是Springboot-Database模板,帮助用户拉起Springboot Web的函数服务和MySQL数据库服务,快速搭建一个基于RDS和Springboot的Java Web脚手架应用,并基于此进行二次开发。
9+
10+
</description>
11+
12+
13+
## 资源准备
14+
15+
使用该项目,您需要有开通以下服务并拥有对应权限:
16+
17+
<service>
18+
19+
20+
21+
| 服务/业务 | 权限 | 相关文档 |
22+
| --- | --- | --- |
23+
| 函数计算 | AliyunFCFullAccess | [帮助文档](https://help.aliyun.com/product/2508973.html) [计费文档](https://help.aliyun.com/document_detail/2512928.html) |
24+
25+
</service>
26+
27+
<remark>
28+
29+
30+
31+
</remark>
32+
33+
<disclaimers>
34+
35+
36+
37+
</disclaimers>
38+
39+
## 部署 & 体验
40+
41+
<appcenter>
42+
43+
- :fire: 通过 [云原生应用开发平台 CAP](https://cap.console.aliyun.com/template-detail?template=start-springboot-database)[![Deploy with Severless Devs](https://img.alicdn.com/imgextra/i1/O1CN01w5RFbX1v45s8TIXPz_!!6000000006118-55-tps-95-28.svg)](https://cap.console.aliyun.com/template-detail?template=start-springboot-database) 该应用。
44+
45+
</appcenter>
46+
<deploy>
47+
48+
49+
</deploy>
50+
51+
## 案例介绍
52+
53+
<appdetail id="flushContent">
54+
55+
本案例是基于 Pivotal 团队提供的全新的 Spring Boot 框架和阿里云RDS数据库服务,简化 依赖数据库的 Spring 应用的初始化搭建过程,并且快速部署到云原生应用开发平台 CAP。
56+
57+
Spring Boot 是一个快速开发 Spring 框架应用的脚手架,它使用“习惯优于配置”(约定优于配置)的理念让你的项目快速运行起来。Spring Boot 并不是对 Spring 功能上的增强,而是提供了一种快速使用 Spring 的方式。
58+
59+
Spring Boot的流行程度非常高,主要得益于其快速开发、微服务架构支持、易于管理和部署、兼容性强以及社区支持等特点。Spring Boot天然支持微服务架构的特点使其成为了构建微服务的理想选择。通过Spring Boot,开发者可以轻松地将应用程序拆分成多个可独立部署和升级的小型服务,充分利用计算资源,提高系统的可扩展性和可维护性。
60+
61+
Spring Boot因其快速开发、微服务架构支持、易于管理和部署、兼容性强以及社区支持等特点而备受欢迎,成为了当前最流行的Java Web开发框架之一。
62+
63+
Spring Boot适用的场景也非常广泛,如:Web应用程序开发、微服务架构、批处理和数据处理等。无论是简单的Web应用还是复杂的分布式系统,Spring Boot都能提供高效、稳定的开发支持,是Java开发者在构建企业级应用时的首选框架之一。
64+
65+
通过云原生应用开发平台 CAP,您只需要几步,就可以体验 连接阿里云数据库的 Spring Boot 框架,并享受 Serverless 架构带来的降本提效的技术红利。
66+
67+
</appdetail>
68+
69+
70+
71+
72+
73+
74+
75+
## 使用流程
76+
77+
<usedetail id="flushContent">
78+
79+
部署完成之后,您可以看到系统返回给您的案例地址
80+
81+
此时,打开案例地址,就可以进入,如下图:
82+
83+
![图片alt](https://img.alicdn.com/imgextra/i4/O1CN01ikA61Z1S3zApDjeMN_!!6000000002192-0-tps-2834-1594.jpg)
84+
85+
页面显示了一个简易的用户管理页面,您可以在页面上创建或删除用户信息,并查看用户信息列表。用户相关信息将保存在MySQL数据库中。
86+
87+
</usedetail>
88+
89+
## 二次开发指南
90+
91+
<development id="flushContent">
92+
</development>
93+
94+
95+
96+
97+
98+

web-framework/nginx-reverse-proxy/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Edition: 3.0.0
22
Type: Project
33
Name: nginx-reverse-proxy-cap
4-
Version: 0.0.3
4+
Version: 0.0.4
55
Provider:
66
- 阿里云
77
Description: 本案例展示了如何将 Nginx,一款高性能的 Web 服务器和反向代理服务器,部署至云原生应用开发平台 CAP。Nginx其高性能、稳定性、丰富的功能和易用性,广泛应用于 Web 服务器、反向代理、CDN、API 网关和实时通信等领域。

web-framework/nginx-reverse-proxy/readme.md

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55

66
<description>
77

8-
本案例展示了如何将 Nginx —— 一款高性能的 Web 服务器和反向代理服务器,部署至云原生应用开发平台 CAP,实现快速构建云原生应用的实践。Nginx 以其高性能、稳定性、丰富的功能和易用性著称,广泛应用于 Web 服务器、反向代理、CDN、API 网关和实时通信等多个领域
8+
本案例展示了如何将 Nginx一款高性能的 Web 服务器和反向代理服务器,部署至云原生应用开发平台 CAP。Nginx其高性能、稳定性、丰富的功能和易用性,广泛应用于 Web 服务器、反向代理、CDN、API 网关和实时通信等领域
99

1010
</description>
1111

1212

13-
## 前期准备
13+
## 资源准备
1414

1515
使用该项目,您需要有开通以下服务并拥有对应权限:
1616

@@ -41,7 +41,7 @@
4141

4242
<appcenter>
4343

44-
- :fire: 通过 [云原生应用开发平台 CAP](https://devs.console.aliyun.com/applications/create?template=nginx-reverse-proxy-cap)[![Deploy with Severless Devs](https://img.alicdn.com/imgextra/i1/O1CN01w5RFbX1v45s8TIXPz_!!6000000006118-55-tps-95-28.svg)](https://devs.console.aliyun.com/applications/create?template=nginx-reverse-proxy-cap) 该应用。
44+
- :fire: 通过 [云原生应用开发平台 CAP](https://cap.console.aliyun.com/template-detail?template=nginx-reverse-proxy-cap)[![Deploy with Severless Devs](https://img.alicdn.com/imgextra/i1/O1CN01w5RFbX1v45s8TIXPz_!!6000000006118-55-tps-95-28.svg)](https://cap.console.aliyun.com/template-detail?template=nginx-reverse-proxy-cap) 该应用。
4545

4646
</appcenter>
4747
<deploy>
@@ -63,6 +63,12 @@ Nginx 是一个高性能的HTTP和反向代理服务器,也是一个IMAP/POP3/
6363

6464
</appdetail>
6565

66+
67+
68+
69+
70+
71+
6672
## 使用流程
6773

6874
<usedetail id="flushContent">
@@ -71,13 +77,17 @@ Nginx 是一个高性能的HTTP和反向代理服务器,也是一个IMAP/POP3/
7177

7278
部署完成之后,您可以看到系统返回给您的案例地址。
7379

74-
### 二次开发
75-
76-
您可以通过云端控制台的开发功能进行二次开发。如果您之前是在本地创建的项目案例,也可以在本地项目目录`nginx-reverse-proxy`文件夹下,对项目进行二次开发。开发完成后,可以通过`s deploy`进行快速部署。
80+
![](https://img.alicdn.com/imgextra/i2/O1CN01g91UY01sAYuPrALbO_!!6000000005726-0-tps-1415-130.jpg)
7781

7882
</usedetail>
7983

80-
## 注意事项
84+
## 二次开发指南
85+
86+
<development id="flushContent">
87+
</development>
88+
89+
90+
91+
92+
8193

82-
<matters id="flushContent">
83-
</matters>

0 commit comments

Comments
 (0)