Kyma allows you to connect applications and third-party services in a cloud-native environment. Use it to create extensions for the existing systems, regardless of the language they are written in. Customize extensions with minimum effort and time devoted to learning their configuration details.
Go to the Kyma project website to learn more about the product, its features, and components.
Install Kyma locally or on a cluster. See the Installation guides for details.
Kyma comes with the ready-to-use code snippets that you can use to test the extensions and the core functionality. See the list of existing examples in the examples
repository.
Develop on your remote repository forked from the original repository in Go.
See the example that uses the console-backend-service
project located in the components
directory but applies to any Go project. This set of instructions uses the recommended git workflow
and the general contribution flow. Read also the CONTRIBUTING.md
document that includes the contributing rules specific for this repository.
Follow these steps:
NOTE: The example assumes you have the
$GOPATH
already set.
-
Fork the repository in GitHub.
-
Clone the fork to your
$GOPATH
workspace. Use this command to create the folder structure and clone the repository under the correct location:git clone git@github.com:{GitHubUsername}/kyma.git $GOPATH/src/github.com/kyma-project/kyma
Follow the steps described in the
git-workflow.md
document to configure your fork. -
Install dependencies.
Go to the main directory of the project in your workspace location and install the required dependencies:
$ cd components/console-backend-service $ dep ensure -vendor-only
-
Build the project.
Every project runs differently. Follow instructions in the main
README.md
document of the given project to build it. -
Create a branch and start to develop.
Do not forget about creating unit and acceptance tests if needed. For the unit tests, follow the instructions specified in the main
README.md
document of the given project. For the details concerning the acceptance tests, go to the corresponding directory inside thetests
directory. Find the information on how to run changes on the cluster without a Docker image in the Develop a service locally without using Docker document. -
Test your changes.
NOTE: For more details about testing, go to the Testing Kyma document.
The repository has the following structure:
├── .github # Pull request and issue templates
├── components # Source code of all Kyma components
├── docs # Documentation source files
├── installation # Installation scripts
├── resources # Helm charts and Kubernetes resources for the Kyma installation
├── tests # Acceptance tests
└── tools # Source code of utilities used, for example, for the installation and testing