Skip to content

Latest commit

 

History

History
78 lines (48 loc) · 4.25 KB

README.md

File metadata and controls

78 lines (48 loc) · 4.25 KB

Go Report Card Slack Twitter

Overview

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.

Installation

Install Kyma locally or on a cluster. See the Installation guides for details.

Usage

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.

Development

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.

  1. Fork the repository in GitHub.

  2. 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 [email protected]:{GitHubUsername}/kyma.git $GOPATH/src/github.com/kyma-project/kyma
    

    Follow the steps described in the git-workflow.md document to configure your fork.

  3. 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
    
  4. Build the project.

    Every project runs differently. Follow instructions in the main README.md document of the given project to build it.

  5. 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 the tests 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.

  6. Test your changes.

    NOTE: For more details about testing, go to the Testing Kyma document.

Project structure

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