Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.4 KB

developers.md

File metadata and controls

46 lines (31 loc) · 1.4 KB

The Kashti Developer Guide

This guide explains how to work on the Kashti codebase.

Clone Repo and Build Dependencies

Begin by cloning this repository with your favorite Git tool.

$ git clone git@github.com:Azure/kashti.git
$ cd kashti

Install dependancies and run the app with these commands.

$ yarn                  # install project dependencies
$ yarn serve            # start a local server in development mode
$ yarn serve:prod       # start a local server in production mode (minification, uglification, etc.)

Deployment

Kashti can be run locally via a yarn start.

To install in a Kubernetes development cluster, we recommend using the chart.

If you are running Minikube, you can do a full build of this repo into a Docker image:

$ eval $(minikube docker-env)
$ yarn docker-build
$ helm install -n brigade-ui chart/kashti --set brigade.apiServer=http://localhost:7745

This will push a copy of the Docker image into your Minikube docker registry and then install the chart.

The value of brigade.apiServer should be the fully qualified URL to your Brigade installation's API server. This is the URL that the client will see, so you may need to use the outside IP address, not the cluster IP.

The example above can be used along with a few kubectl port-forward commands to locally access your Kashti UI. See the Install Guide for more.