Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
JanakaSandaruwan committed Nov 1, 2023
1 parent 1ac6c1e commit 5526b37
Show file tree
Hide file tree
Showing 16 changed files with 94 additions and 65 deletions.
12 changes: 7 additions & 5 deletions greeting-service-go/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,17 @@ Note: The following file paths are relative to the path /go/greeter
| .choreo/endpoints.yaml | Choreo-specific configuration that provides information about how Choreo exposes the service. |
| openapi.yaml | OpenAPI contract of the greeter service. This is needed to publish our service as a managed API. This openapi.yaml file is referenced by the .choreo/endpoints.yaml. |

### Prerequisites
1. Fork the repositoy

## Deploy Application

Please refer to the Choreo documentation under the [Develop a REST API](https://wso2.com/choreo/docs/develop-components/develop-services/develop-a-rest-api/#step-1-create-a-service-component-from-a-dockerfile) section to learn how to deploy the application.

You can select either Docker or Go as buildpacks. Fill as follow according to selected Buildpack.

1. Select `Service` Card from Component Creation Wizard
2. Fork the repositoy
3. Select `Go` as the buildpack. Fill as follow according to selected Buildpack.
2. Select `Go` as the buildpack. Fill as follow according to selected Buildpack.

| **Field** | **Description** |
|-----------------------|-----------------------------------------------|
Expand All @@ -31,10 +33,10 @@ You can select either Docker or Go as buildpacks. Fill as follow according to se
| **Branch** | **`main`** |
| **Buildpack** | `Go` |
| **Select Go Project Directory** | hello-world-go-task |
| **Select Language Version** | 1.x |
| **Language Version** | 1.x |

4. Click Create. Once the component creation is complete, you will see the component overview page.
5. Deploy the created component
3. Click Create. Once the component creation is complete, you will see the component overview page.
4. Deploy the created component

## Execute the Sample Locally

Expand Down
12 changes: 7 additions & 5 deletions hello-world-go-task/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@

Sample for Hello World task. Print "Hello World" when run the main.go

### Prerequisites
1. Fork the repositoy

## Getting started

Please refer to the Choreo documentation under the [Develop an Application with Buildpacks](https://wso2.com/choreo/develop-components/deploy-an-application-with-buildpacks) to learn how to deploy the application.

1. Select `Manual Task` Card from Component Creation Wizard
2. Fork the repositoy
3. Select `Go` as the buildpack. Fill as follow according to selected Buildpack.
2. Select `Go` as the buildpack. Fill as follow according to selected Buildpack.

| **Field** | **Description** |
|-----------------------|-----------------------------------------------|
Expand All @@ -19,10 +21,10 @@ Please refer to the Choreo documentation under the [Develop an Application with
| **Branch** | **`main`** |
| **Buildpack** | Go|
| **Select Go Project Directory** | hello-world-go-task |
| **Select Language Version** | 1.x |
| **Language Version** | 1.x |

4. Click Create. Once the component creation is complete, you will see the component overview page.
5. Deploy the created component
3. Click Create. Once the component creation is complete, you will see the component overview page.
4. Deploy the created component

## Execute the Sample Locally

Expand Down
12 changes: 7 additions & 5 deletions hello-world-go-webapp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@

Sample for Hello World web app.

### Prerequisites
1. Fork the repositoy

## Getting started

Please refer to the Choreo documentation under the [Develop an Application with Buildpacks](https://wso2.com/choreo/develop-components/deploy-an-application-with-buildpacks) to learn how to deploy the application.

1. Select `Web Application` Card from Component Creation Wizard
2. Fork the repositoy
3. Select `Go` as the buildpack. Fill as follow according to selected Buildpack.
2. Select `Go` as the buildpack. Fill as follow according to selected Buildpack.

| **Field** | **Description** |
|-----------------------|-----------------------------------------------|
Expand All @@ -19,11 +21,11 @@ Please refer to the Choreo documentation under the [Develop an Application with
| **Branch** | **`main`** |
| **Buildpack** | Go|
| **Select Go Project Directory** | hello-world-go-task |
| **Select Language Version** | 1.x |
| **Language Version** | 1.x |
| **Port** | 8080|

4. Click Create. Once the component creation is complete, you will see the component overview page.
5. Deploy the created component
3. Click Create. Once the component creation is complete, you will see the component overview page.
4. Deploy the created component

## Execute the Sample Locally

Expand Down
9 changes: 5 additions & 4 deletions hello-world-java-task/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@

Sample for Hello World task. Print "Hello World"

### Prerequisites
1. Fork the repositoy

## Getting started

Please refer to the Choreo documentation under the [Develop an Application with Buildpacks](https://wso2.com/choreo/develop-components/deploy-an-application-with-buildpacks) to learn how to deploy the application.

1. Select `Manual Task` Card from Component Creation Wizard
2. Fork the repositoy
3. Select `Java` as the buildpack. Fill as follow according to selected Buildpack.
2. Select `Java` as the buildpack. Fill as follow according to selected Buildpack.

| **Field** | **Description** |
|-----------------------|-----------------------------------------------|
Expand All @@ -22,8 +23,8 @@ Please refer to the Choreo documentation under the [Develop an Application with
| **Select Go Project Directory** | hello-world-java-task |
| **Select Language Version** | 8 |

4. Click Create. Once the component creation is complete, you will see the component overview page.
5. Deploy the created component
3. Click Create. Once the component creation is complete, you will see the component overview page.
4. Deploy the created component

Here, we have specify the entrypoint in the `Procfile`

Expand Down
10 changes: 6 additions & 4 deletions hello-world-nodejs-task/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@

Sample for Hello World task. Print "Hello World"

### Prerequisites
1. Fork the repositoy

## Getting started

Please refer to the Choreo documentation under the [Develop an Application with Buildpacks](https://wso2.com/choreo/develop-components/deploy-an-application-with-buildpacks) to learn how to deploy the application.

1. Select `Manual Task` Card from Component Creation Wizard
2. Fork the repositoy
3. Select `NodeJs` as the buildpack. Fill as follow according to selected Buildpack.
2. Select `NodeJs` as the buildpack. Fill as follow according to selected Buildpack.

| **Field** | **Description** |
|-----------------------|-----------------------------------------------|
Expand All @@ -21,5 +23,5 @@ Please refer to the Choreo documentation under the [Develop an Application with
| **Select Go Project Directory** | hello-world-nodejs-task |
| **Select Language Version** | 16.x.x |

4. Click Create. Once the component creation is complete, you will see the component overview page.
5. Deploy the created component
3. Click Create. Once the component creation is complete, you will see the component overview page.
4. Deploy the created component
10 changes: 6 additions & 4 deletions hello-world-php-service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@

Sample for Hello World service.

### Prerequisites
1. Fork the repositoy

## Getting started

Please refer to the Choreo documentation under the [Develop an Application with Buildpacks](https://wso2.com/choreo/develop-components/deploy-an-application-with-buildpacks) to learn how to deploy the application.

1. Select `Service` Card from Component Creation Wizard
2. Fork the repositoy
3. Select `PHP` as the buildpack. Fill as follow according to selected Buildpack.
2. Select `PHP` as the buildpack. Fill as follow according to selected Buildpack.

| **Field** | **Description** |
|-----------------------|-----------------------------------------------|
Expand All @@ -21,5 +23,5 @@ Please refer to the Choreo documentation under the [Develop an Application with
| **Select Go Project Directory** | hello-world-php-service|
| **Select Language Version** | 8.1.x |

4. Click Create. Once the component creation is complete, you will see the component overview page.
5. Deploy the created component
3. Click Create. Once the component creation is complete, you will see the component overview page.
4. Deploy the created component
10 changes: 6 additions & 4 deletions hello-world-php-task/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@

Sample for Hello World task. Print "Hello World"

### Prerequisites
1. Fork the repositoy

## Getting started

Please refer to the Choreo documentation under the [Develop an Application with Buildpacks](https://wso2.com/choreo/develop-components/deploy-an-application-with-buildpacks) to learn how to deploy the application.

1. Select `Manual Task` Card from Component Creation Wizard
2. Fork the repositoy
3. Select `PHP` as the buildpack. Fill as follow according to selected Buildpack.
2. Select `PHP` as the buildpack. Fill as follow according to selected Buildpack.

| **Field** | **Description** |
|-----------------------|-----------------------------------------------|
Expand All @@ -21,5 +23,5 @@ Please refer to the Choreo documentation under the [Develop an Application with
| **Select Go Project Directory** | hello-world-php-task |
| **Select Language Version** | 1.x |

4. Click Create. Once the component creation is complete, you will see the component overview page.
5. Deploy the created component
3. Click Create. Once the component creation is complete, you will see the component overview page.
4. Deploy the created component
10 changes: 6 additions & 4 deletions hello-world-php-webapp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@

Sample for Hello World web app.

### Prerequisites
1. Fork the repositoy

## Getting started

Please refer to the Choreo documentation under the [Develop an Application with Buildpacks](https://wso2.com/choreo/develop-components/deploy-an-application-with-buildpacks) to learn how to deploy the application.

1. Select `Web Application` Card from Component Creation Wizard
2. Fork the repositoy
3. Select `PHP` as the buildpack. Fill as follow according to selected Buildpack.
2. Select `PHP` as the buildpack. Fill as follow according to selected Buildpack.

| **Field** | **Description** |
|-----------------------|-----------------------------------------------|
Expand All @@ -21,5 +23,5 @@ Please refer to the Choreo documentation under the [Develop an Application with
| **Select Go Project Directory** | hello-world-php-webapp |
| **Select Language Version** | 8.1.x |

4. Click Create. Once the component creation is complete, you will see the component overview page.
5. Deploy the created component
3. Click Create. Once the component creation is complete, you will see the component overview page.
4. Deploy the created component
2 changes: 1 addition & 1 deletion hello-world-php-webapp/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ buildPreset: php
repositoryUrl: https://github.com/wso2/choreo-samples/
componentPath: /hello-world-php-webapp
thumbnailPath: /hello-world-php-webapp/icon.png
documentationPath: /hello-world-php-webapp/readme.md
documentationPath: /hello-world-php-webapp/README.md
tags:
- Web Application
10 changes: 6 additions & 4 deletions hello-world-python-task/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@

Sample for Hello World task. Print "Hello World" when run the main.py

### Prerequisites
1. Fork the repositoy

## Getting started

Please refer to the Choreo documentation under the [Develop an Application with Buildpacks](https://wso2.com/choreo/develop-components/deploy-an-application-with-buildpacks) to learn how to deploy the application.

1. Select `Manual Task` Card from Component Creation Wizard
2. Fork the repositoy
3. Select `Python` as the buildpack. Fill as follow according to selected Buildpack.
2. Select `Python` as the buildpack. Fill as follow according to selected Buildpack.

| **Field** | **Description** |
|-----------------------|-----------------------------------------------|
Expand All @@ -21,5 +23,5 @@ Please refer to the Choreo documentation under the [Develop an Application with
| **Select Go Project Directory** | hello-world-python-task |
| **Select Language Version** | 1.x |

4. Click Create. Once the component creation is complete, you will see the component overview page.
5. Deploy the created component
3. Click Create. Once the component creation is complete, you will see the component overview page.
4. Deploy the created component
10 changes: 6 additions & 4 deletions hello-world-ruby-service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@

Sample for Hello World service. This API responds with a "Hello World" message when called, making it an excellent starting point for beginners and a handy tool for testing APIs with Ruby.

### Prerequisites
1. Fork the repositoy

## Getting started

Please refer to the Choreo documentation under the [Develop an Application with Buildpacks](https://wso2.com/choreo/develop-components/deploy-an-application-with-buildpacks) to learn how to deploy the application.

1. Select `Service` Card from Component Creation Wizard
2. Fork the repositoy
3. Select `Ruby` as the buildpack. Fill as follow according to selected Buildpack.
2. Select `Ruby` as the buildpack. Fill as follow according to selected Buildpack.

| **Field** | **Description** |
|-----------------------|-----------------------------------------------|
Expand All @@ -21,5 +23,5 @@ Please refer to the Choreo documentation under the [Develop an Application with
| **Select Go Project Directory** | hello-world-ruby-webapp |
| **Select Language Version** | 3.1.x |

4. Click Create. Once the component creation is complete, you will see the component overview page.
5. Deploy the created component
3. Click Create. Once the component creation is complete, you will see the component overview page.
4. Deploy the created component
12 changes: 7 additions & 5 deletions hello-world-ruby-task/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@

Sample for Hello World task. Print "Hello World"

### Prerequisites
1. Fork the repositoy

## Getting started

Please refer to the Choreo documentation under the [Develop an Application with Buildpacks](https://wso2.com/choreo/develop-components/deploy-an-application-with-buildpacks) to learn how to deploy the application.

1. Select `Manual Task` Card from Component Creation Wizard
2. Fork the repositoy
3. Select `Ruby` as the buildpack. Fill as follow according to selected Buildpack.
2. Select `Ruby` as the buildpack. Fill as follow according to selected Buildpack.

| **Field** | **Description** |
|-----------------------|-----------------------------------------------|
Expand All @@ -19,7 +21,7 @@ Please refer to the Choreo documentation under the [Develop an Application with
| **Branch** | **`main`** |
| **Buildpack** | Ruby|
| **Select Go Project Directory** | hello-world-ruby-task |
| **Select Language Version** | 1.x |
| **Select Language Version** | 3.1.x |

4. Click Create. Once the component creation is complete, you will see the component overview page.
5. Deploy the created component
3. Click Create. Once the component creation is complete, you will see the component overview page.
4. Deploy the created component
10 changes: 6 additions & 4 deletions hello-world-ruby-webapp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@

Sample for Hello World web app.

### Prerequisites
1. Fork the repositoy

## Getting started

Please refer to the Choreo documentation under the [Develop an Application with Buildpacks](https://wso2.com/choreo/develop-components/deploy-an-application-with-buildpacks) to learn how to deploy the application.

1. Select `Web Application` Card from Component Creation Wizard
2. Fork the repositoy
3. Select `Ruby` as the buildpack. Fill as follow according to selected Buildpack.
2. Select `Ruby` as the buildpack. Fill as follow according to selected Buildpack.

| **Field** | **Description** |
|-----------------------|-----------------------------------------------|
Expand All @@ -22,5 +24,5 @@ Please refer to the Choreo documentation under the [Develop an Application with
| **Select Language Version** | 3.1.x |
| **Port** | 8080|

4. Click Create. Once the component creation is complete, you will see the component overview page.
5. Deploy the created component
3. Click Create. Once the component creation is complete, you will see the component overview page.
4. Deploy the created component
10 changes: 6 additions & 4 deletions product-management-service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@ Note: The following file paths are relative to the path /java/rest-api/
| .choreo/endpoints.yaml | Choreo-specific configuration that provides information about how Choreo exposes the service. |
| openapi.yaml | OpenAPI contract of the service. This is needed to publish our service as a managed API. This openapi.yaml file is referenced by the .choreo/endpoints.yaml. |

### Prerequisites
1. Fork the repositoy

## Deploy Application

Please refer to the Choreo documentation under the [Develop an Application with Buildpacks](https://wso2.com/choreo/develop-components/deploy-an-application-with-buildpacks) to learn how to deploy the application.

1. Select `Service` Card from Component Creation Wizard
2. Fork the repositoy
3. Select `Java` as the buildpack. Fill as follow according to selected Buildpack.
2. Select `Java` as the buildpack. Fill as follow according to selected Buildpack.

| **Field** | **Description** |
|-----------------------|-----------------------------------------------|
Expand All @@ -31,8 +33,8 @@ Please refer to the Choreo documentation under the [Develop an Application with
| **Select Java Project Directory** | product-management-service |
| **Select Language Version** | 17 |

4. Click Create. Once the component creation is complete, you will see the component overview page.
5. Deploy the created component
3. Click Create. Once the component creation is complete, you will see the component overview page.
4. Deploy the created component

The [endpoints.yaml](.choreo/endpoints.yaml) file contains the endpoint configurations that are used by the Choreo to expose the service.

Expand Down
Loading

0 comments on commit 5526b37

Please sign in to comment.