lburgazzoli commented on a change in pull request #5:
URL: https://github.com/apache/camel-k-examples/pull/5#discussion_r444790814



##########
File path: 03-knative-source-basic/readme.didact.md
##########
@@ -0,0 +1,165 @@
+# Camel Knative Source Basic Example
+
+This example demonstrates how to get started with Camel based Knative sources 
by showing you some of the most important 
+features that you should know before trying to develop more complex examples.
+
+You can find more information about Apache Camel and Apache Camel K on the 
[official Camel website](https://camel.apache.org).
+
+## Available online
+
+If you don't want to setup your own Kubernetes cluster or your IDE and you 
just want to get started quickly, this example is also available online in the 
following places:
+
+- [Camel K Basic Example at 
learn.openshift.com](https://learn.openshift.com/middleware/courses/middleware-camelk/camel-k-basic).
+
+You don't need to follow the remainder of this readme if you choose to follow 
the online version.
+
+## Before you begin
+
+Read the general instructions in the [root README.md file](../README.md) for 
setting up your environment and the Kubernetes cluster before looking at this 
example.
+
+Make sure you've read the [installation 
instructions](https://camel.apache.org/camel-k/latest/installation/installation.html)
 for your specific 
+cluster before starting the example.
+
+Install the Camel Source from the camel.yaml in the [Eventing Sources release 
page](https://github.com/knative/eventing-contrib/releases)
+Obtain a Telegram bot account with (@BotFather)[hhtps://telegram.me/botfather]
+
+You should open this file with 
[Didact](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-didact)
 if available on your IDE.
+
+## Requirements
+
+<a href='didact://?commandId=vscode.didact.validateAllRequirements' 
title='Validate all requirements!'><button>Validate all Requirements at 
Once!</button></a>
+
+**Kubectl CLI**
+
+The Kubernetes `kubectl` CLI tool will be used to interact with the Kubernetes 
cluster.
+
+[Check if the Kubectl CLI is 
installed](didact://?commandId=vscode.didact.cliCommandSuccessful&text=kubectl-requirements-status$$kubectl%20help&completion=Checked%20kubectl%20tool%20availability
 "Tests to see if `kubectl help` returns a 0 return code"){.didact}
+
+*Status: unknown*{#kubectl-requirements-status}
+
+**Connection to a Kubernetes cluster**
+
+You need to connect to a Kubernetes cluster in order to run the example.
+
+[Check if you're connected to a Kubernetes 
cluster](didact://?commandId=vscode.didact.cliCommandSuccessful&text=cluster-requirements-status$$kubectl%20get%20pod&completion=Checked%20Kubernetes%20connection
 "Tests to see if `kubectl get pod` returns a 0 return code"){.didact}
+
+*Status: unknown*{#cluster-requirements-status}
+
+**Apache Camel K CLI ("kamel")**
+
+You need the Apache Camel K CLI ("kamel") in order to access all Camel K 
features.
+
+[Check if the Apache Camel K CLI ("kamel") is 
installed](didact://?commandId=vscode.didact.requirementCheck&text=kamel-requirements-status$$kamel%20version$$Camel%20K%20Client&completion=Checked%20if%20Camel%20K%20CLI%20is%20available%20on%20this%20system.
 "Tests to see if `kamel version` returns a result"){.didact}
+
+*Status: unknown*{#kamel-requirements-status}
+

Review comment:
       The installation of the camel source is here: 
https://github.com/apache/camel-k-examples/pull/5/files#diff-2dd4ece965d00da157cabd959a9f37d6R23-R24,
 not sure if it is in the right location




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to